mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -04:00
AP_HAL_Linux: add newline and remove stray semicolon
This commit is contained in:
parent
5087a4262d
commit
d33facd884
@ -449,4 +449,4 @@ uint32_t UARTDriver::bw_in_bytes_per_second() const
|
|||||||
// if connected, assume at least a 10/100Mbps connection
|
// if connected, assume at least a 10/100Mbps connection
|
||||||
const uint32_t bitrate = (_connected && _ip != nullptr) ? 10E6 : _baudrate;
|
const uint32_t bitrate = (_connected && _ip != nullptr) ? 10E6 : _baudrate;
|
||||||
return bitrate/10; // convert bits to bytes minus overhead
|
return bitrate/10; // convert bits to bytes minus overhead
|
||||||
};
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user