AP_HAL_PX4: UARTDriver: fix trailing whitespaces
This commit is contained in:
parent
d60b4842b6
commit
ec4d1eefca
@ -383,6 +383,7 @@ int PX4UARTDriver::_write_fd(const uint8_t *buf, uint16_t n)
|
|||||||
#else
|
#else
|
||||||
_last_write_time = AP_HAL::micros64();
|
_last_write_time = AP_HAL::micros64();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// we haven't done a successful write for 2ms, which means the
|
// we haven't done a successful write for 2ms, which means the
|
||||||
// port is running at less than 500 bytes/sec. Start
|
// port is running at less than 500 bytes/sec. Start
|
||||||
// discarding bytes, even if this is a blocking port. This
|
// discarding bytes, even if this is a blocking port. This
|
||||||
@ -480,5 +481,4 @@ void PX4UARTDriver::_timer_tick(void)
|
|||||||
_in_timer = false;
|
_in_timer = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif // CONFIG_HAL_BOARD
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user