X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Ftelebt-v3.0%2Fao_pins.h;h=6e90afcc16c63d32043f19e79b86bbd594f09949;hb=f3ddaae82215e365726f2a62a3dc46bfb29eb1b5;hp=f178c34902b943b1bdded54bcd0b25940c785a8d;hpb=845ae016d700c37948e053ead5f7e2778356fda3;p=fw%2Faltos diff --git a/src/telebt-v3.0/ao_pins.h b/src/telebt-v3.0/ao_pins.h index f178c349..6e90afcc 100644 --- a/src/telebt-v3.0/ao_pins.h +++ b/src/telebt-v3.0/ao_pins.h @@ -168,7 +168,7 @@ struct ao_adc { #define ao_serial_btm_getchar ao_serial2_getchar #define ao_serial_btm_putchar ao_serial2_putchar #define _ao_serial_btm_pollchar _ao_serial2_pollchar -#define _ao_serial_btm_sleep _ao_serial2_sleep +#define _ao_serial_btm_sleep_for _ao_serial2_sleep_for #define ao_serial_btm_set_speed ao_serial2_set_speed #define ao_serial_btm_drain ao_serial2_drain #define ao_serial_btm_rx_fifo (ao_stm_usart2.rx_fifo) @@ -184,7 +184,7 @@ struct ao_adc { /* gets pretty close to 434.550 */ -#define AO_RADIO_CAL_DEFAULT 0x6ca333 +#define AO_RADIO_CAL_DEFAULT 5695485 #define AO_FEC_DEBUG 0 #define AO_CC1200_SPI_CS_PORT (&stm_gpiob) @@ -200,4 +200,9 @@ struct ao_adc { #define HAS_BOOT_RADIO 0 +/* Monitor bits */ +#define HAS_MONITOR 1 +#define LEGACY_MONITOR 0 +#define AO_MONITOR_LED AO_LED_RED + #endif /* _AO_PINS_H_ */