Skip to content

A Hardware Hacking Tool with Web-Based CLI That Speaks Every Protocol

add protocol name after setprotocol for LED

Geocf0d5b66d24e
diff --git a/images/demo7.gif b/images/demo7.gif
new file mode 100644
index 00000000..8986df77
Binary files /dev/null and b/images/demo7.gif differ
diff --git a/images/demo8.gif b/images/demo8.gif
new file mode 100644
index 00000000..6fbb53f1
Binary files /dev/null and b/images/demo8.gif differ
diff --git a/src/Controllers/LedController.cpp b/src/Controllers/LedController.cpp
index e98503fc..967731dd 100644
--- a/src/Controllers/LedController.cpp
+++ b/src/Controllers/LedController.cpp
@@ -296,7 +296,7 @@ void LedController::handleSetProtocol() {
std::string selectedProtocol = allProtocols[choice - 1];
state.setLedProtocol(selectedProtocol);
ensureConfigured();
- terminalView.println("LED protocol changed.\n");
+ terminalView.println("LED protocol changed to " + selectedProtocol);
}
/*