Resolved missing symbols for qurt build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois 2016-01-22 18:30:00 -08:00 committed by Julian Oes
parent b9fb4c48ad
commit a495e3442c
2 changed files with 5 additions and 15 deletions

View File

@ -62,12 +62,6 @@ long PX4_TICKS_PER_SEC = sysconf(_SC_CLK_TCK);
extern void init_params(void); extern void init_params(void);
#endif #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 __END_DECLS
namespace px4 namespace px4
@ -84,9 +78,8 @@ void init_once(void)
hrt_init(); hrt_init();
#ifdef ENABLE_SHMEM #ifdef ENABLE_SHMEM
PX4_INFO("Starting shared memory param sync\n"); PX4_INFO("Syncing params to shared memory\n");
init_own_params(); init_params();
param_sync_done = init_other_params();
#endif #endif
} }

View File

@ -71,9 +71,7 @@ unsigned int sleep(unsigned int sec)
} }
extern void hrt_init(void); extern void hrt_init(void);
extern void init_own_params(); extern void init_params();
extern unsigned int init_other_params();
extern unsigned int param_sync_done;
#if 0 #if 0
void qurt_log(const char *fmt, ...) void qurt_log(const char *fmt, ...)
@ -112,9 +110,8 @@ void init_once(void)
hrt_init(); hrt_init();
PX4_WARN("after calling hrt_init"); PX4_WARN("after calling hrt_init");
/*Shared memory param sync*/ /* Shared memory param sync*/
init_own_params(); init_params();
param_sync_done = init_other_params();
} }
void init(int argc, char *argv[], const char *app_name) void init(int argc, char *argv[], const char *app_name)