systemlib: Warning fixes

This commit is contained in:
Lorenz Meier 2014-06-30 12:20:47 +02:00
parent 20de2da032
commit a66f88b29a
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,7 @@
#include <stdio.h>
#include <fcntl.h>
#include <systemlib/err.h>
#include <systemlib/rc_check.h>
#include <systemlib/param/param.h>
#include <mavlink/mavlink_log.h>

View File

@ -64,6 +64,9 @@ systemreset(bool to_bootloader)
*(uint32_t *)0x40002850 = 0xb007b007;
}
up_systemreset();
/* lock up here */
while(true);
}
static void kill_task(FAR struct tcb_s *tcb, FAR void *arg);