mirror of
https://github.com/markqvist/RNode_Firmware.git
synced 2025-02-25 09:01:29 -05:00
Cleanup
This commit is contained in:
parent
2e6db2f818
commit
c51335a1df
@ -668,7 +668,6 @@ void serial_write(uint8_t byte) {
|
||||
Serial.write(byte);
|
||||
} else {
|
||||
SerialBT.write(byte);
|
||||
|
||||
#if MCU_VARIANT == MCU_NRF52 && HAS_BLE
|
||||
// This ensures that the TX buffer is flushed after a frame is queued in serial.
|
||||
// serial_in_frame is used to ensure that the flush only happens at the end of the frame
|
||||
@ -680,7 +679,6 @@ void serial_write(uint8_t byte) {
|
||||
serial_in_frame = true;
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
#else
|
||||
Serial.write(byte);
|
||||
|
Loading…
x
Reference in New Issue
Block a user