From b34f7c16efebad5c72b7a6245145a0071ed4cb84 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Tue, 2 Aug 2022 12:28:03 -0400 Subject: [PATCH] fixed? --- cubesatsim/cubesatsim.ino | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index 46f79719..ca5fe66f 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -8,7 +8,7 @@ * (at your option) any later version. * * 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 * 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_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; // Serial.print("\nR"); // Serial.print(" "); @@ -3191,10 +3191,10 @@ bool TimerHandler0(struct repeating_timer *t) { Serial.print("R Microseconds: "); Serial.println((micros() - micro_timer)/bufLen); micro_timer = micros(); - } + } // } } else if (mode == SSTV) - sstv_TimerHandler1(); + sstv_TimerHandler1(); // } /* if (digitalRead(MAIN_PB_PIN) == PRESSED) // pushbutton is pressed @@ -3230,7 +3230,7 @@ void start_isr() { // } else { // ITimer0.restartTimer(); // Serial.println("Restarting ITimer0 for BPSK"); -// } + } } void start_button_isr() {