Workaround pattern for empty function array.
This commit is contained in:
parent
0e4684e828
commit
cd5256bc0a
|
@ -32,6 +32,8 @@ static targetSerialPortFunction_t targetSerialPortFunction[] = {
|
||||||
#if defined(OMNIBUSF7V2) && defined(ESC_SENSOR_UART)
|
#if defined(OMNIBUSF7V2) && defined(ESC_SENSOR_UART)
|
||||||
// OMNIBUS F7 V2 has an option to connect UART7_RX to ESC telemetry
|
// OMNIBUS F7 V2 has an option to connect UART7_RX to ESC telemetry
|
||||||
{ ESC_SENSOR_UART, FUNCTION_ESC_SENSOR },
|
{ ESC_SENSOR_UART, FUNCTION_ESC_SENSOR },
|
||||||
|
#else
|
||||||
|
{ SERIAL_PORT_NONE, FUNCTION_NONE },
|
||||||
#endif
|
#endif
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue