Rewrote SD logging app, simpler, but effective. Pending testing

This commit is contained in:
Lorenz Meier
2012-09-10 23:04:31 +02:00
parent 0019f65b10
commit e440fc4027
11 changed files with 267 additions and 964 deletions
@@ -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");