Skip to content

Commit bdd61c5

Browse files
committed
Remove sleeps
This seem unnecessary.
1 parent 929c036 commit bdd61c5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

uart/gps_uart/gps_uart.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,9 +232,6 @@ int main()
232232

233233
uart_gps_init();
234234

235-
// recommended cold start waiting time (could vary based on the gps module)
236-
sleep_ms(7 * 60 * 1000);
237-
238235
GPSData gps_data = {0};
239236

240237
while (1)
@@ -248,9 +245,6 @@ int main()
248245
printf("Longitude: %.6f\n", gps_data.longitude);
249246
gps_data.is_valid = false;
250247
}
251-
252-
// sufficient waiting time required between each gps reading and the next one
253-
sleep_ms(30 * 1000);
254248
}
255249

256250
return 0;

0 commit comments

Comments
 (0)