first cut at turnon scripts for EasyTimer v2
[fw/altos] / src / kernel / ao_config.h
index 1d5a0fb022deab4964b97f857769adf66b867ece..a8541775ae807272947dbd66b357c05ec2e2ef61 100644 (file)
 #ifndef _AO_CONFIG_H_
 #define _AO_CONFIG_H_
 
+#include <ao.h>
+
+#if AO_PYRO_NUM
 #include <ao_pyro.h>
+#endif
 
 #ifndef USE_STORAGE_CONFIG
 #define USE_STORAGE_CONFIG 1
 #endif
 
 #define AO_CONFIG_MAJOR        1
-#define AO_CONFIG_MINOR        25
+#define AO_CONFIG_MINOR        26
+
+/* All cc1200 devices support limiting TX power to 10mW */
+#if !defined(HAS_RADIO_10MW) && defined(AO_CC1200_SPI)
+#define HAS_RADIO_10MW 1
+#endif
 
 #define AO_AES_LEN 16
 
@@ -126,6 +135,10 @@ struct ao_config {
 #if HAS_APRS
        uint8_t         aprs_offset;            /* minor version 24 */
 #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 {