From c3608749671e4a59d43731714886f23696582883 Mon Sep 17 00:00:00 2001 From: alanbjohnston Date: Sat, 22 Apr 2023 15:32:39 -0400 Subject: [PATCH] commented out first_time so always prints payload string --- cubesatsim/cubesatsim.ino | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/cubesatsim/cubesatsim.ino b/cubesatsim/cubesatsim.ino index f961a1d7..9ea09f1c 100644 --- a/cubesatsim/cubesatsim.ino +++ b/cubesatsim/cubesatsim.ino @@ -3006,7 +3006,7 @@ void payload_OK_only() if (result == 'R') { Serial.println("OK"); delay(100); - first_time = true; +// first_time = true; start_payload(); // setup(); } @@ -3016,16 +3016,15 @@ void payload_OK_only() else if (result == 'C') { Serial.println("Clearing stored gyro offsets in EEPROM\n"); EEPROM.put(0, (float)0.0); - first_time = true; +// first_time = true; start_payload(); // setup(); } -// if ((result == '?') || first_time == true) // commented back in - if (true) + if ((result == '?') || first_time == true) // commented back in if (true) { - first_time = false; +// first_time = false; if (bmePresent) { Serial.print("OK BME280 "); Serial.print(bme.readTemperature());