forked from Archive/PX4-Autopilot
Resolved missing symbols for qurt build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
parent
b9fb4c48ad
commit
a495e3442c
|
@ -62,12 +62,6 @@ long PX4_TICKS_PER_SEC = sysconf(_SC_CLK_TCK);
|
|||
extern void init_params(void);
|
||||
#endif
|
||||
|
||||
#ifdef ENABLE_SHMEM
|
||||
extern void init_own_params(void);
|
||||
extern unsigned int init_other_params(void);
|
||||
extern unsigned int param_sync_done;
|
||||
#endif
|
||||
|
||||
__END_DECLS
|
||||
|
||||
namespace px4
|
||||
|
@ -84,9 +78,8 @@ void init_once(void)
|
|||
hrt_init();
|
||||
|
||||
#ifdef ENABLE_SHMEM
|
||||
PX4_INFO("Starting shared memory param sync\n");
|
||||
init_own_params();
|
||||
param_sync_done = init_other_params();
|
||||
PX4_INFO("Syncing params to shared memory\n");
|
||||
init_params();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -71,9 +71,7 @@ unsigned int sleep(unsigned int sec)
|
|||
}
|
||||
|
||||
extern void hrt_init(void);
|
||||
extern void init_own_params();
|
||||
extern unsigned int init_other_params();
|
||||
extern unsigned int param_sync_done;
|
||||
extern void init_params();
|
||||
|
||||
#if 0
|
||||
void qurt_log(const char *fmt, ...)
|
||||
|
@ -112,9 +110,8 @@ void init_once(void)
|
|||
hrt_init();
|
||||
PX4_WARN("after calling hrt_init");
|
||||
|
||||
/*Shared memory param sync*/
|
||||
init_own_params();
|
||||
param_sync_done = init_other_params();
|
||||
/* Shared memory param sync*/
|
||||
init_params();
|
||||
}
|
||||
|
||||
void init(int argc, char *argv[], const char *app_name)
|
||||
|
|
Loading…
Reference in New Issue