Skip to content

Commit 654927f

Browse files
committed
[h89][devices] fix straggling fnUARTBus calls.
1 parent 327d805 commit 654927f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/device/h89/fuji.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ void H89Fuji::process(uint32_t commanddata, uint8_t checksum)
453453
H89_device_enabled_status();
454454
break;
455455
default:
456-
fnUartDebug.printf("H89_process() not implemented yet for this device. Cmd received: %02x\n", cmdFrame.comnd);
456+
Debug_printf("H89_process() not implemented yet for this device. Cmd received: %02x\n", cmdFrame.comnd);
457457
}
458458
}
459459

lib/device/h89/modem.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#include "fnSystem.h"
1010
#include "fnConfig.h"
11-
#include "fnUART.h"
1211
#include "fnWiFi.h"
1312

1413
#include "utils.h"
@@ -463,7 +462,7 @@ void H89Modem::at_handle_answer()
463462
CRX = true;
464463

465464
cmdMode = false;
466-
fnUartBUS.flush();
465+
//fnUartBUS.flush();
467466
answerHack = false;
468467
}
469468
}
@@ -1225,7 +1224,7 @@ void H89Modem::process(uint32_t commanddata, uint8_t checksum)
12251224
cmdFrame.commanddata = commanddata;
12261225
cmdFrame.checksum = checksum;
12271226

1228-
fnUartDebug.printf("H89_process() not implemented yet for this device. Cmd received: %02x\n", cmdFrame.comnd);
1227+
Debug_printf("H89_process() not implemented yet for this device. Cmd received: %02x\n", cmdFrame.comnd);
12291228
}
12301229

12311230
#endif /* NEW_TARGET */

0 commit comments

Comments
 (0)