X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fcore%2Fao.h;h=0ad3e4aa6504b68774fdbd7b487a59385ff9a4f2;hb=bdea4c88318a41ade3d3b6b2cbfc097ae3e4f3be;hp=548e87381525161692844c03b476defe1bf7e1e4;hpb=6dea353e732b6e19586c844796bc3bb848cc92f8;p=fw%2Faltos diff --git a/src/core/ao.h b/src/core/ao.h index 548e8738..0ad3e4aa 100644 --- a/src/core/ao.h +++ b/src/core/ao.h @@ -45,6 +45,8 @@ #if HAS_TASK #include +#else +#include #endif /* @@ -511,6 +513,8 @@ ao_telemetry_tiny_init(void); extern __xdata uint8_t ao_radio_dma; +extern __xdata int8_t ao_radio_rssi; + #ifdef PKT_APPEND_STATUS_1_CRC_OK #define AO_RADIO_STATUS_CRC_OK PKT_APPEND_STATUS_1_CRC_OK #else @@ -535,7 +539,7 @@ ao_radio_send(const __xdata void *d, uint8_t size) __reentrant; #if HAS_RADIO_RECV uint8_t -ao_radio_recv(__xdata void *d, uint8_t size) __reentrant; +ao_radio_recv(__xdata void *d, uint8_t size, uint8_t timeout) __reentrant; void ao_radio_recv_abort(void);