|
|
|
@ -332,13 +332,13 @@ void loop() {
|
|
|
|
bool config_done = false;
|
|
|
|
bool config_done = false;
|
|
|
|
mode = new_mode; // change modes if button pressed
|
|
|
|
mode = new_mode; // change modes if button pressed
|
|
|
|
write_mode();
|
|
|
|
write_mode();
|
|
|
|
|
|
|
|
/*
|
|
|
|
// if ((mode == BPSK) || ((new_mode == FSK) && (old_mode == CW))) {
|
|
|
|
// if ((mode == BPSK) || ((new_mode == FSK) && (old_mode == CW))) {
|
|
|
|
if (mode == BPSK) {
|
|
|
|
if (mode == BPSK) {
|
|
|
|
config_telem(); // run this before cw only for BPSK mode
|
|
|
|
config_telem(); // run this before cw only for BPSK mode
|
|
|
|
config_done = true;
|
|
|
|
config_done = true;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
*/
|
|
|
|
if (new_mode != CW)
|
|
|
|
if (new_mode != CW)
|
|
|
|
transmit_callsign(callsign);
|
|
|
|
transmit_callsign(callsign);
|
|
|
|
sleep(0.5);
|
|
|
|
sleep(0.5);
|
|
|
|
|