use enable outputs instead of just control

pico-sr
alanbjohnston 3 years ago committed by GitHub
parent e6f91470be
commit 953e2cbbb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3848,9 +3848,11 @@ void transmit_cw(int freq, float duration) { // freq in Hz, duration in millise
else {
Serial.println("No sr_frs present!");
unsigned long start = micros();
clockgen.enableOutputs(true);
digitalWrite(BPSK_CONTROL_A, HIGH);
while((micros() - start) < duration_us) { }
digitalWrite(BPSK_CONTROL_A, LOW);
clockgen.enableOutputs(false);
}
// if (!wifi)

Loading…
Cancel
Save

Powered by TurnKey Linux.