1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 16:55:36 +03:00

Workaround pattern for empty function array.

This commit is contained in:
jflyper 2018-04-23 23:10:26 +09:00
parent 0e4684e828
commit cd5256bc0a

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
};