diff --git a/flight/PiOS/Boards/STM32F4xx_RevoMini.h b/flight/PiOS/Boards/STM32F4xx_RevoMini.h index 36f5f1d0d..dfec89387 100644 --- a/flight/PiOS/Boards/STM32F4xx_RevoMini.h +++ b/flight/PiOS/Boards/STM32F4xx_RevoMini.h @@ -147,14 +147,12 @@ extern uint32_t pios_spi_telem_flash_id; //------------------------- // Packet Handler //------------------------- -#if defined(PIOS_INCLUDE_PACKET_HANDLER) -extern uint32_t pios_packet_handler; -#define PIOS_PACKET_HANDLER (pios_packet_handler) +#define RS_ECC_NPARITY 4 #define PIOS_PH_MAX_PACKET 255 #define PIOS_PH_WIN_SIZE 3 #define PIOS_PH_MAX_CONNECTIONS 1 -#define RS_ECC_NPARITY 4 -#endif /* PIOS_INCLUDE_PACKET_HANDLER */ +extern uint32_t pios_packet_handler; +#define PIOS_PACKET_HANDLER (pios_packet_handler) //------------------------ // TELEMETRY diff --git a/flight/RevoMini/System/inc/pios_config.h b/flight/RevoMini/System/inc/pios_config.h index 552a1cbbd..9b1bbb554 100644 --- a/flight/RevoMini/System/inc/pios_config.h +++ b/flight/RevoMini/System/inc/pios_config.h @@ -58,7 +58,6 @@ /* Variables related to the RFM22B functionality */ #define PIOS_INCLUDE_RFM22B -#define PIOS_INCLUDE_PACKET_HANDLER #define RFM22_EXT_INT_USE #define RADIO_BUILTIN