mirror of https://github.com/ArduPilot/ardupilot
AP_RCProtocol: re-order initialiser lines so -Werror=reorder will work
This commit is contained in:
parent
53c50b6bc7
commit
87fa7a208d
|
@ -22,8 +22,8 @@
|
||||||
|
|
||||||
SoftSerial::SoftSerial(uint32_t _baudrate, serial_config _config) :
|
SoftSerial::SoftSerial(uint32_t _baudrate, serial_config _config) :
|
||||||
baudrate(_baudrate),
|
baudrate(_baudrate),
|
||||||
config(_config),
|
half_bit((1000000U / baudrate)/2),
|
||||||
half_bit((1000000U / baudrate)/2)
|
config(_config)
|
||||||
{
|
{
|
||||||
switch (config) {
|
switch (config) {
|
||||||
case SERIAL_CONFIG_8N1:
|
case SERIAL_CONFIG_8N1:
|
||||||
|
|
Loading…
Reference in New Issue