mirror of
https://github.com/liberatedsystems/RNode_Firmware_CE.git
synced 2025-05-07 17:05:27 -04:00
Re-enable bluetooth, but only if HAS_BLUETOOTH is defined
This commit is contained in:
parent
53daa12a01
commit
9ef3a0c4b1
1 changed files with 3 additions and 3 deletions
|
@ -1305,10 +1305,10 @@ void buffer_serial() {
|
|||
if (!fifo_isfull_locked(&serialFIFO)) {
|
||||
fifo_push_locked(&serialFIFO, Serial.read());
|
||||
}
|
||||
#else
|
||||
if (HAS_BLUETOOTH && bt_state == BT_STATE_CONNECTED) {
|
||||
#elif HAS_BLUETOOTH
|
||||
if (bt_state == BT_STATE_CONNECTED) {
|
||||
if (!fifo_isfull(&serialFIFO)) {
|
||||
//fifo_push(&serialFIFO, SerialBT.read());
|
||||
fifo_push(&serialFIFO, SerialBT.read());
|
||||
}
|
||||
} else {
|
||||
if (!fifo_isfull(&serialFIFO)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue