A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
restore baudrate after a canceled uart scan
Geo1ac0b9c4e607
diff --git a/src/Controllers/UartController.cpp b/src/Controllers/UartController.cppindex bd5d2137..bfdc356e 100644--- a/src/Controllers/UartController.cpp+++ b/src/Controllers/UartController.cpp@@ -240,6 +240,7 @@ bool UartController::checkScanCancelled() {char key = terminalInput.readChar();if (key == '\r' || key == '\n') {terminalView.println("UART Scan: Cancelled by user.");+ uartService.switchBaudrate(state.getUartBaudRate()); // restore previousscanCancelled = true;return true;}