|
|
|
|
@ -2324,6 +2324,7 @@ void process_pushbutton() {
|
|
|
|
|
if ((pb_value == RELEASED) && (release == FALSE)) {
|
|
|
|
|
Serial.println("PB: Switch to AFSK");
|
|
|
|
|
release = TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (release == FALSE) {
|
|
|
|
|
blinkTimes(2);
|
|
|
|
|
@ -2334,6 +2335,7 @@ void process_pushbutton() {
|
|
|
|
|
if ((pb_value == RELEASED) && (release == FALSE)) {
|
|
|
|
|
Serial.println("PB: Switch to FSK");
|
|
|
|
|
release = TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (release == FALSE) {
|
|
|
|
|
blinkTimes(3);
|
|
|
|
|
@ -2344,6 +2346,7 @@ void process_pushbutton() {
|
|
|
|
|
if ((pb_value == RELEASED) && (release == FALSE)) {
|
|
|
|
|
Serial.println("PB: Switch to BPSK");
|
|
|
|
|
release = TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (release == FALSE) {
|
|
|
|
|
digitalWrite(MAIN_PB_PIN, LOW);
|
|
|
|
|
@ -2355,6 +2358,7 @@ void process_pushbutton() {
|
|
|
|
|
if ((pb_value == RELEASED) && (release == FALSE)) {
|
|
|
|
|
Serial.println("PB: Switch to SSTV");
|
|
|
|
|
release = TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (release == FALSE) {
|
|
|
|
|
digitalWrite(MAIN_PB_PIN, LOW);
|
|
|
|
|
@ -2366,6 +2370,7 @@ void process_pushbutton() {
|
|
|
|
|
if ((pb_value == RELEASED) && (release == FALSE)) {
|
|
|
|
|
Serial.println("PB: Switch to CW");
|
|
|
|
|
release = TRUE;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (release == FALSE) {
|
|
|
|
|
Serial.println("PB: Shutdown!");
|
|
|
|
|
@ -2512,4 +2517,4 @@ void blinkTimes(int blinks) {
|
|
|
|
|
sleep(0.1);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|