mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Workaround pattern for empty function array.
This commit is contained in:
parent
0e4684e828
commit
cd5256bc0a
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue