projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Allow TX power to be limited to 10mW
[fw/altos]
/
src
/
kernel
/
ao_config.h
diff --git
a/src/kernel/ao_config.h
b/src/kernel/ao_config.h
index 1d5a0fb022deab4964b97f857769adf66b867ece..f43401be6051a812f0c9854a408f832a64b83ed9 100644
(file)
--- a/
src/kernel/ao_config.h
+++ b/
src/kernel/ao_config.h
@@
-60,6
+60,11
@@
#define AO_CONFIG_MAJOR 1
#define AO_CONFIG_MINOR 25
#define AO_CONFIG_MAJOR 1
#define AO_CONFIG_MINOR 25
+/* 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
extern uint8_t ao_config_aes_seq;
#define AO_AES_LEN 16
extern uint8_t ao_config_aes_seq;
@@
-126,6
+131,9
@@
struct ao_config {
#if HAS_APRS
uint8_t aprs_offset; /* minor version 24 */
#endif
#if HAS_APRS
uint8_t aprs_offset; /* minor version 24 */
#endif
+#if HAS_RADIO_10MW
+ uint8_t radio_10mw; /* minor version 25 */
+#endif
};
struct ao_config_1_24 {
};
struct ao_config_1_24 {