1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Replace CLI serial port configuration code with a new serial command.

This is done to make it clearer in configuration dumps which ports are
enabled and configured.

There is a nice code size reduction due to less strings being needed.

Serial documentation updated.

Closes #966.
This commit is contained in:
Dominic Clifton 2015-05-31 11:50:58 +01:00
parent 27db9ad0fe
commit ca22fb0ee3
3 changed files with 119 additions and 37 deletions

View file

@ -89,7 +89,7 @@ baudRate_e lookupBaudRateIndex(uint32_t baudRate)
return index;
}
}
return 0;
return BAUD_AUTO;
}
static serialPortUsage_t *findSerialPortUsageByIdentifier(serialPortIdentifier_e identifier)