mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-03 17:38:53 +08:00
Resolved missing symbols for qurt build
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
committed by
Julian Oes
parent
f59d6b13b5
commit
2c4187f21f
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user