Skip to content

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

fix jam to return if freq cant be set (most likely no module connected)

Geo4bbbac2d4f12
diff --git a/src/Controllers/SubGhzController.cpp b/src/Controllers/SubGhzController.cpp
index 823e23ea..b310f1da 100644
--- a/src/Controllers/SubGhzController.cpp
+++ b/src/Controllers/SubGhzController.cpp
@@ -312,7 +312,7 @@ void SubGhzController::handleBandJam() {
// Apply TX profile with freq
if (!subGhzService.applyRawSendProfile(f)) {
terminalView.println("Failed to apply TX profile at " + argTransformer.toFixed2(f) + " MHz");
- continue;
+ return;
}
unsigned long t0 = millis();