system: add generic shutdown API

This commit is contained in:
Beat Küng
2017-04-18 14:02:30 +02:00
committed by Lorenz Meier
parent 211837c73b
commit 694bf48422
6 changed files with 263 additions and 3 deletions
+1 -1
View File
@@ -103,7 +103,7 @@ static char *param_user_file = NULL;
#include <px4_workqueue.h>
/* autosaving variables */
static hrt_abstime last_autosave_timestamp = 0;
struct work_s autosave_work;
static struct work_s autosave_work;
static bool autosave_scheduled = false;
static bool autosave_disabled = false;
#endif /* PARAM_NO_AUTOSAVE */
+1 -1
View File
@@ -89,7 +89,7 @@ static char *param_user_file = NULL;
#include <px4_workqueue.h>
/* autosaving variables */
static hrt_abstime last_autosave_timestamp = 0;
struct work_s autosave_work;
static struct work_s autosave_work;
static bool autosave_scheduled = false;
static bool autosave_disabled = false;