1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +01:00

Shuffle around the PACKET_HANDLER definition so we can more easily disable the Radio module.

This commit is contained in:
James Cotton 2012-08-25 22:34:13 -05:00
parent b08775666b
commit 2bb4f860e1
2 changed files with 3 additions and 6 deletions

View File

@ -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

View File

@ -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