pull/218/head
alanbjohnston 3 years ago committed by GitHub
parent c9490cdcbf
commit b34f7c16ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -8,7 +8,7 @@
* (at your option) any later version. * (at your option) any later version.
* *
* This program is distributed in the hope that it will be useful, * This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of * but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
@ -3183,7 +3183,7 @@ bool TimerHandler0(struct repeating_timer *t) {
pwm_init(bpsk_pin_slice, &config, true); pwm_init(bpsk_pin_slice, &config, true);
pwm_set_gpio_level(BPSK_PWM_PIN, (config.top + 1) * 0.5); pwm_set_gpio_level(BPSK_PWM_PIN, (config.top + 1) * 0.5);
*/ */
if (wav_position > bufLen) { // 300) { if (wav_position > bufLen) { // 300) {
wav_position = wav_position - bufLen; wav_position = wav_position - bufLen;
// Serial.print("\nR"); // Serial.print("\nR");
// Serial.print(" "); // Serial.print(" ");
@ -3191,10 +3191,10 @@ bool TimerHandler0(struct repeating_timer *t) {
Serial.print("R Microseconds: "); Serial.print("R Microseconds: ");
Serial.println((micros() - micro_timer)/bufLen); Serial.println((micros() - micro_timer)/bufLen);
micro_timer = micros(); micro_timer = micros();
} }
// } // }
} else if (mode == SSTV) } else if (mode == SSTV)
sstv_TimerHandler1(); sstv_TimerHandler1();
// } // }
/* /*
if (digitalRead(MAIN_PB_PIN) == PRESSED) // pushbutton is pressed if (digitalRead(MAIN_PB_PIN) == PRESSED) // pushbutton is pressed
@ -3230,7 +3230,7 @@ void start_isr() {
// } else { // } else {
// ITimer0.restartTimer(); // ITimer0.restartTimer();
// Serial.println("Restarting ITimer0 for BPSK"); // Serial.println("Restarting ITimer0 for BPSK");
// } }
} }
void start_button_isr() { void start_button_isr() {

Loading…
Cancel
Save

Powered by TurnKey Linux.