updated for setClockFSK and BPSK

pull/202/head
alanbjohnston 3 years ago committed by GitHub
parent 154042652f
commit ad63516a3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2086,7 +2086,7 @@ void config_radio()
pinMode(TEMPERATURE_PIN, INPUT);
pinMode(AUDIO_IN_PIN, INPUT);
*/
if ((mode == AFSK) || (mode == FSK) || (mode == SSTV) || (mode == CW)) {
if ((mode == AFSK) || (mode == SSTV) || (mode == CW)) {
digitalWrite(PD_PIN, HIGH); // Enable SR_FRS
@ -2098,12 +2098,14 @@ void config_radio()
// transmit_on();
} else if (mode == BPSK) {
// start_pwm();
// start_isr();
// start_isr();
clockgen.setClockBPSK();
transmit_on();
}
if ((mode == FSK)) // || (mode == SSTV))
// start_isr();
clockgen.setClockBPSK();
transmit_on();
}
@ -4295,7 +4297,7 @@ void start_clockgen() {
Serial.println("Starting clockgen frequency 434.896 MHz");
clockgen.setClockBuilderData();
clockgen.setClockFSK(); // default to FSK
clockgen.enableOutputs(false);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.