config_telem depending on FSK or BPSK

pico-v0.33-debug
alanbjohnston 3 years ago committed by GitHub
parent 5935bedb2e
commit 68c34e90af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -329,11 +329,17 @@ void loop() {
/// } /// }
mode = new_mode; // change modes if button pressed mode = new_mode; // change modes if button pressed
write_mode(); write_mode();
if (mode == BPSK)
config_telem(); config_telem();
if (new_mode != CW) if (new_mode != CW)
transmit_callsign(callsign); transmit_callsign(callsign);
sleep(0.5); sleep(0.5);
/// config_telem();
if (mode == FSK)
config_telem();
config_radio(); config_radio();
if ((mode == FSK) || (mode == BPSK)) { if ((mode == FSK) || (mode == BPSK)) {
digitalWrite(LED_BUILTIN, HIGH); digitalWrite(LED_BUILTIN, HIGH);

Loading…
Cancel
Save

Powered by TurnKey Linux.