1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 09:45:37 +03:00

Tidied UART enum definitions

This commit is contained in:
Martin Budden 2017-07-29 12:34:27 +01:00
parent bacc6e6fb1
commit 944fe0761c
34 changed files with 65 additions and 73 deletions

View file

@ -199,7 +199,7 @@ bool escSensorInit(void)
return false;
}
portOptions_t options = SERIAL_NOT_INVERTED | (escSensorConfig()->halfDuplex ? SERIAL_BIDIR : 0);
portOptions_e options = SERIAL_NOT_INVERTED | (escSensorConfig()->halfDuplex ? SERIAL_BIDIR : 0);
// Initialize serial port
escSensorPort = openSerialPort(portConfig->identifier, FUNCTION_ESC_SENSOR, escSensorDataReceive, ESC_SENSOR_BAUDRATE, MODE_RX, options);