projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altosui: Add config and pyro tabs to graph widget
[fw/altos]
/
src
/
kernel
/
ao_config.h
diff --git
a/src/kernel/ao_config.h
b/src/kernel/ao_config.h
index f43401be6051a812f0c9854a408f832a64b83ed9..6896eaa973161375adf553c519369eac03ee8e45 100644
(file)
--- a/
src/kernel/ao_config.h
+++ b/
src/kernel/ao_config.h
@@
-19,7
+19,13
@@
#ifndef _AO_CONFIG_H_
#define _AO_CONFIG_H_
#ifndef _AO_CONFIG_H_
#define _AO_CONFIG_H_
+#ifndef AO_FLIGHT_TEST
+#include <ao.h>
+#endif
+
+#if AO_PYRO_NUM
#include <ao_pyro.h>
#include <ao_pyro.h>
+#endif
#ifndef USE_STORAGE_CONFIG
#define USE_STORAGE_CONFIG 1
#ifndef USE_STORAGE_CONFIG
#define USE_STORAGE_CONFIG 1
@@
-58,7
+64,7
@@
#endif
#define AO_CONFIG_MAJOR 1
#endif
#define AO_CONFIG_MAJOR 1
-#define AO_CONFIG_MINOR 2
5
+#define AO_CONFIG_MINOR 2
6
/* All cc1200 devices support limiting TX power to 10mW */
#if !defined(HAS_RADIO_10MW) && defined(AO_CC1200_SPI)
/* All cc1200 devices support limiting TX power to 10mW */
#if !defined(HAS_RADIO_10MW) && defined(AO_CC1200_SPI)
@@
-134,6
+140,7
@@
struct ao_config {
#if HAS_RADIO_10MW
uint8_t radio_10mw; /* minor version 25 */
#endif
#if HAS_RADIO_10MW
uint8_t radio_10mw; /* minor version 25 */
#endif
+ uint8_t report_feet; /* minor version 26 */
};
struct ao_config_1_24 {
};
struct ao_config_1_24 {