remove FSK clockgen stop

pico-v0.35
alanbjohnston 3 years ago committed by GitHub
parent 92a79a2c1b
commit 9905055b26
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3614,14 +3614,14 @@ bool TimerHandler0(struct repeating_timer *t) {
// delayMicroseconds(10); // delayMicroseconds(10);
digitalWrite(BPSK_CONTROL_A, HIGH); digitalWrite(BPSK_CONTROL_A, HIGH);
// Serial.print("-"); // Serial.print("-");
if (mode == FSK) clockgen.enableOutputOnly(1); /// if (mode == FSK) clockgen.enableOutputOnly(1);
} else { } else {
// digitalWrite(BPSK_CONTROL_A, LOW); // digitalWrite(BPSK_CONTROL_A, LOW);
digitalWrite(BPSK_CONTROL_A, LOW); digitalWrite(BPSK_CONTROL_A, LOW);
// delayMicroseconds(10); // delayMicroseconds(10);
digitalWrite(BPSK_CONTROL_B, HIGH); digitalWrite(BPSK_CONTROL_B, HIGH);
// Serial.print("_"); // Serial.print("_");
if (mode == FSK) clockgen.enableOutputOnly(0); /// if (mode == FSK) clockgen.enableOutputOnly(0);
} }
if (wav_position > bufLen) { // 300) { if (wav_position > bufLen) { // 300) {
wav_position = wav_position % bufLen; wav_position = wav_position % bufLen;

Loading…
Cancel
Save

Powered by TurnKey Linux.