mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-16 05:53:33 +08:00
Rewrote SD logging app, simpler, but effective. Pending testing
This commit is contained in:
@@ -64,10 +64,9 @@ int px4_deamon_thread_main(int argc, char *argv[]) {
|
||||
|
||||
printf("[deamon] starting\n");
|
||||
|
||||
while (true) {
|
||||
while (!thread_should_exit) {
|
||||
printf("Hello Deamon!\n");
|
||||
sleep(10);
|
||||
if (thread_should_exit) break;
|
||||
}
|
||||
|
||||
printf("[deamon] exiting.\n");
|
||||
|
||||
Reference in New Issue
Block a user