Skip to content

Commit

Permalink
ensure radio is not stuck with CONT_WAVE flag asserted after MCU reset
Browse files Browse the repository at this point in the history
  • Loading branch information
2bndy5 committed Mar 5, 2024
1 parent aa9c670 commit 42b95ba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/scanner/scanner.ino
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ void setup(void) {
// hold in an infinite loop
}
}
radio.stopConstCarrier(); // in case MCU was reset while radio was emitting carrier wave
radio.setAutoAck(false); // Don't acknowledge arbitrary signals
radio.disableCRC(); // Accept any signal we find
radio.setAddressWidth(2); // A reverse engineering tactic (not typically recommended)
Expand Down

0 comments on commit 42b95ba

Please sign in to comment.