refactor param: move autosave to px4::wq_configurations::lp_default work queue

Changes initialization order as param_init now depends on wq manager
This commit is contained in:
Beat Küng
2023-05-31 07:45:20 +02:00
parent e65a0a01d6
commit 1bfca24fa9
6 changed files with 202 additions and 86 deletions
+2 -3
View File
@@ -127,8 +127,6 @@ int px4_platform_init()
hrt_ioctl_init();
#endif
param_init();
/* configure CPU load estimation */
#ifdef CONFIG_SCHED_INSTRUMENTATION
cpuload_initialize_once();
@@ -180,9 +178,10 @@ int px4_platform_init()
#endif // CONFIG_FS_BINFS
px4::WorkQueueManagerStart();
param_init();
uorb_start();
px4_log_initialize();