forked from Archive/PX4-Autopilot
systemlib: Warning fixes
This commit is contained in:
parent
20de2da032
commit
a66f88b29a
|
@ -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>
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue