Update cubesatsim.ino

pull/161/head
alanbjohnston 4 years ago committed by GitHub
parent 27b83398b5
commit 4bdc3cdb5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -2368,7 +2368,7 @@ void loop1() {
} else if (mode == BPSK) {
tx_bit = (buffer[wav_position] > 0) ? true: false;
pwm_config_set_output_polarity( &config, tx_but, tx_bit);
pwm_config_set_output_polarity( &config, tx_bit, tx_bit);
pwm_init(bpsk_pin_slice, &config, true);
pwm_set_gpio_level(BPSK_PWM_PIN, (config.top + 1) * 0.5);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.