pico-v0.41-try
alanbjohnston 3 years ago committed by GitHub
parent 90b90f3fb8
commit 7047f22e5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3780,8 +3780,8 @@ void config_gpio() {
else
Serial.println("BPF not present - no transmitting after CW ID");
if (digitalRead(TXC_PIN) == FALSE) {
// if (false) { // force SR_FRS not present
// if (digitalRead(TXC_PIN) == FALSE) {
if (false) { // force SR_FRS not present
Serial.println("SR_FRS present");
sr_frs_present = true;
}
@ -4122,11 +4122,11 @@ void transmit_cw(int freq, float duration) { // freq in Hz, duration in millise
// clockgen.enableOutputs(true);
if (clockgen_present) {
clockgen.enableOutputOnly(0);
digitalWrite(BPSK_CONTROL_A, HIGH);
digitalWrite(BPSK_CONTROL_B, HIGH);
}
while((micros() - start) < duration_us) { }
if (clockgen_present) {
digitalWrite(BPSK_CONTROL_A, LOW);
digitalWrite(BPSK_CONTROL_B, LOW);
clockgen.enableOutputs(false);
}
}

Loading…
Cancel
Save

Powered by TurnKey Linux.