disable outputs up to 5 times

pull/190/head
alanbjohnston 3 years ago committed by GitHub
parent 3e72fd4e4f
commit 8bca060fa0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -511,8 +511,11 @@ void transmit_off() {
digitalWrite(BPSK_CONTROL_B, LOW);
// pwm_set_gpio_level(BPSK_PWM_A_PIN, 0);
// pwm_set_gpio_level(BPSK_PWM_B_PIN, 0);
Serial.println("Disable clock outputs");
clockgen.enableOutputs(false);
for (int i = 0; ((i < 5) && (!clockgen.enableOutputs(false))); i++) {
Serial.println("Disable clock outputs");
}
// clockgen.enableOutputs(false)
}
else if (mode == SSTV)
sstv_end();

Loading…
Cancel
Save

Powered by TurnKey Linux.