Sky9x compilation error when FRSKY not enabled
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user