Update cubesatsim.ino

pull/152/head
alanbjohnston 4 years ago committed by GitHub
parent 4461fb5b08
commit f8384e195a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -662,7 +662,7 @@ float toAprsFormat(float input) {
void sleep(float time) {
unsigned long time_ms = (unsigned long)(time * 1000f);
unsigned long time_ms = (unsigned long)(time * 1000.0);
unsigned long startSleep = millis();
while ((millis() - startSleep) < time_ms)
delay(100);

Loading…
Cancel
Save

Powered by TurnKey Linux.