restart button isr after SSTV mode

pico-format
alanbjohnston 3 years ago committed by GitHub
parent 2b75354cfd
commit 3b67b85b14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -305,7 +305,9 @@ void loop() {
// check to see if the mode has changed
if (mode != new_mode) {
Serial.println("Changing mode");
mode = new_mode; // change modes if button pressed
if (mode == SSTV)
start_button_isr(); // restart button isr
mode = new_mode; // change modes if button pressed
write_mode();
if (new_mode != CW)
transmit_callsign(callsign);

Loading…
Cancel
Save

Powered by TurnKey Linux.