A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol
C arduinobluetoothcan-busdebuggingeepromesp32flipperzerogpiohardware-hackingi2cjtagopenocdprotocolspwmradiorfidspisubghzuartwifi
some minor improvement to logic and analogic cmds
Geo2f83dc58b4bf
diff --git a/src/Controllers/UtilityController.cpp b/src/Controllers/UtilityController.cppindex 6f9ff1be..46f2b3e7 100644--- a/src/Controllers/UtilityController.cpp+++ b/src/Controllers/UtilityController.cpp@@ -289,7 +289,7 @@ void UtilityController::handleLogicAnalyzer(const TerminalCommand& cmd) {// The poor man's drawLogicTrace() on terminal// draws a 132 samples sub part of the buffer to speed up the thingsif (state.getTerminalMode() == TerminalTypeEnum::Serial){- terminalView.println("Logic trace");+ terminalView.println("");uint8_t pos = 0;for(size_t i = 0; i < 132; i++, pos++){terminalView.print(buffer[i]?"-":"_");@@ -320,15 +320,15 @@ void UtilityController::handleAnalogic(const TerminalCommand& cmd) {// Verify protected pinuint8_t pin = argTransformer.toUint8(cmd.getSubcommand());if (state.isPinProtected(pin)) {- terminalView.println("Logic Analyzer: This pin is protected or reserved.");+ terminalView.println("Analogic: This pin is protected or reserved.");return;}if (!state.isPinAnalog(pin)){- terminalView.println("Logic Analyzer: This pin is not an analog one");+ terminalView.println("Analogic: This pin is not an analog one");return;};- terminalView.println("\nAnalog plotter: Monitoring pin " + std::to_string(pin) + "... Press [ENTER] to stop.");+ terminalView.println("\nAnalogic: Monitoring pin " + std::to_string(pin) + "... Press [ENTER] to stop.");terminalView.println("Displaying waveform on the ESP32 screen...\n");@@ -346,7 +346,7 @@ void UtilityController::handleAnalogic(const TerminalCommand& cmd) {lastCheck = millis();char c = terminalInput.readChar();if (c == '\r' || c == '\n') {- terminalView.println("Analog plotter: Stopped by user.");+ terminalView.println("\nAnalogic: Stopped by user.");break;}if (c == 's'){