remove stop and start interrupt

pico-button-loop
alanbjohnston 3 years ago committed by GitHub
parent 567f842502
commit 9ace4a4a88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -265,10 +265,10 @@ void loop() {
// scottie1_transmit_file(output_file, debug_mode);
// ITimer1.stopTimer(); // turn off pushbutton timer
ITimer1.disableTimer(); // turn off pushbutton timer
/// ITimer1.disableTimer(); // turn off pushbutton timer
play_pwm_file(26);
// ITimer1.restartTimer(); // turn back on pushbutton timer
ITimer1.enableTimer(); // turn back on pushbutton timer
/// ITimer1.enableTimer(); // turn back on pushbutton timer
if (debug_mode)
Serial.println("Stop transmit!");
digitalWrite(PTT_PIN, HIGH); // stop transmit

Loading…
Cancel
Save

Powered by TurnKey Linux.