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) { if (!sr_frs_present) {
start_clockgen(); start_clockgen();
if (clockgen.setClockFSK(frequency_offset)) { if (clockgen_present) {
start_clockgen(); if (clockgen.setClockFSK(frequency_offset)) {
if (clockgen_present) start_clockgen();
clockgen.setClockFSK(frequency_offset); if (clockgen_present)
Serial.println("Config clock for CW without SR_FRS!"); clockgen.setClockFSK(frequency_offset);
} else { Serial.println("Config clock for CW without SR_FRS!");
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 digitalWrite(PD_PIN, LOW); // disable SR_FRS
if (clockgen_present) { if (clockgen_present) {

Loading…
Cancel
Save

Powered by TurnKey Linux.