changed to restart timer

pico-sstv-pp-2-prompt-working
alanbjohnston 3 years ago committed by GitHub
parent e1a4ff1a40
commit e9c24a2589
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -262,7 +262,7 @@ void loop() {
ITimer1.stopTimer(); // turn off pushbutton timer ITimer1.stopTimer(); // turn off pushbutton timer
play_pwm_file(26); play_pwm_file(26);
ITimer1.startTimer(); // turn back on pushbutton timer ITimer1.restartTimer(); // turn back on pushbutton timer
if (debug_mode) if (debug_mode)
Serial.println("Stop transmit!"); Serial.println("Stop transmit!");
digitalWrite(PTT_PIN, HIGH); // stop transmit digitalWrite(PTT_PIN, HIGH); // stop transmit

Loading…
Cancel
Save

Powered by TurnKey Linux.