add another clockgen_present

pull/266/head
alanbjohnston 3 years ago committed by GitHub
parent 6310a36d3b
commit 1a97c7a263
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4147,13 +4147,15 @@ void transmit_callsign(char *callsign) {
if (!sr_frs_present) {
start_clockgen();
if (clockgen.setClockFSK(frequency_offset)) {
start_clockgen();
if (clockgen_present)
clockgen.setClockFSK(frequency_offset);
Serial.println("Config clock for CW without SR_FRS!");
} else {
Serial.println("Config clock for CW without SR_FRS");
if (clockgen_present) {
if (clockgen.setClockFSK(frequency_offset)) {
start_clockgen();
if (clockgen_present)
clockgen.setClockFSK(frequency_offset);
Serial.println("Config clock for CW without SR_FRS!");
} else {
Serial.println("Config clock for CW without SR_FRS");
}
}
digitalWrite(PD_PIN, LOW); // disable SR_FRS
if (clockgen_present) {

Loading…
Cancel
Save

Powered by TurnKey Linux.