Workaround pattern for empty function array.

This commit is contained in:
jflyper 2018-04-23 23:10:26 +09:00
parent 0e4684e828
commit cd5256bc0a
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ static targetSerialPortFunction_t targetSerialPortFunction[] = {
#if defined(OMNIBUSF7V2) && defined(ESC_SENSOR_UART)
// OMNIBUS F7 V2 has an option to connect UART7_RX to ESC telemetry
{ ESC_SENSOR_UART, FUNCTION_ESC_SENSOR },
#else
{ SERIAL_PORT_NONE, FUNCTION_NONE },
#endif
};