From 243c1a28ec82fb64bbf6577e118333f0fd6601ba Mon Sep 17 00:00:00 2001 From: Oleg Semyonov Date: Sat, 16 Mar 2013 22:16:49 +0200 Subject: [PATCH] Remove duplicated global var and defines from board definition file Was caught using just added linker options: LDFLAGS += -Wl,--warn-common LDFLAGS += -Wl,--fatal-warnings --- flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h b/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h index 88ce43312..9be8efe2c 100755 --- a/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h +++ b/flight/PiOS/Boards/STM32103CB_PIPXTREME_Rev1.h @@ -303,18 +303,6 @@ extern uint32_t pios_packet_handler; #define RS_ECC_NPARITY 4 #endif /* PIOS_INCLUDE_PACKET_HANDLER */ -//------------------------- -// Packet Handler -//------------------------- - -#if defined(PIOS_INCLUDE_PACKET_HANDLER) -uint32_t pios_packet_handler; -#define PIOS_PACKET_HANDLER (pios_packet_handler) -#define PIOS_PH_MAX_PACKET 255 -#define PIOS_PH_WIN_SIZE 3 -#define PIOS_PH_MAX_CONNECTIONS 1 -#endif /* PIOS_INCLUDE_PACKET_HANDLER */ - //------------------------- // Reed-Solomon ECC //-------------------------