1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00

fixed time duration display

This commit is contained in:
bpmcgeeney 2021-11-05 13:58:27 -07:00
parent 48c1059c0a
commit 9bce55f7af

View File

@ -92,13 +92,15 @@ void loop() {
if (State.z < 0.0) { if (State.z < 0.0) {
printSimResults(State); printSimResults(State);
init_Vehicle(State); init_Vehicle(State);
Serial.println("Last run duration:" + String(millis() - last + " ms")); delay(1000);
Serial.println("Last run duration:" + String(millis() - last) + " ms");
closeFile(); closeFile();
delay(10000); delay(10000);
Serial.println("Restarting Sim"); Serial.println("Restarting Sim");
Serial.println("==============================================================="); Serial.println(
"===============================================================");
} }
} }
#endif #endif