Sky9x compilation error when FRSKY not enabled

This commit is contained in:
bsongis
2014-06-23 17:40:16 +02:00
parent dafb700be2
commit 37222c32a4
@@ -121,6 +121,7 @@ extern "C" void UART0_IRQHandler()
#define SECOND_UART_Configure(...) #define SECOND_UART_Configure(...)
#endif #endif
#if defined(FRSKY)
void telemetrySecondPortInit(unsigned int /*protocol*/) void telemetrySecondPortInit(unsigned int /*protocol*/)
{ {
SECOND_UART_Configure(FRSKY_D_BAUDRATE, Master_frequency); SECOND_UART_Configure(FRSKY_D_BAUDRATE, Master_frequency);
@@ -137,3 +138,4 @@ uint16_t telemetrySecondPortReceive()
return 0xFFFF ; return 0xFFFF ;
} }
#endif