diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-06-13 23:40:48 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-06-13 23:40:48 +0200 |
commit | 91b590ef584cfc67be7555e3d7272bb94bc9b2b4 (patch) | |
tree | b83457c6ff1dc496dd3a2074aa003ff711f9a169 /src/modules/dataman | |
parent | d84cbd008c80aab8057fbdef94f57073e437ec56 (diff) | |
download | px4-firmware-91b590ef584cfc67be7555e3d7272bb94bc9b2b4.tar.gz px4-firmware-91b590ef584cfc67be7555e3d7272bb94bc9b2b4.tar.bz2 px4-firmware-91b590ef584cfc67be7555e3d7272bb94bc9b2b4.zip |
Move MISSION_STATE read/write from mavlink to navigator and commander
Diffstat (limited to 'src/modules/dataman')
-rw-r--r-- | src/modules/dataman/dataman.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/modules/dataman/dataman.h b/src/modules/dataman/dataman.h index 215ec4c76..dbace21ef 100644 --- a/src/modules/dataman/dataman.h +++ b/src/modules/dataman/dataman.h @@ -53,7 +53,7 @@ extern "C" { DM_KEY_WAYPOINTS_OFFBOARD_0, /* Mission way point coordinates sent over mavlink */ DM_KEY_WAYPOINTS_OFFBOARD_1, /* (alernate between 0 and 1) */ DM_KEY_WAYPOINTS_ONBOARD, /* Mission way point coordinates generated onboard */ - DM_KEY_MISSION_STATE, /* Persistent mission state */ + DM_KEY_MISSION_STATE, /* Persistent mission state */ DM_KEY_NUM_KEYS /* Total number of item types defined */ } dm_item_t; @@ -127,16 +127,6 @@ extern "C" { dm_reset_reason restart_type /* The last reset type */ ); - /* NOTE: The following structure defines the persistent system state data stored in the single - entry DM_KEY_SYSTEM_STATE_KEY item type. It contains global system state information that - needs to survive restarts. This definition is application specific so it doesn't really belong - in this header, but till I find it a better home here it is */ - - typedef struct { - char offboard_waypoint_id; /* the index of the active offboard waypoint data */ - /* (DM_KEY_WAYPOINTS_OFFBOARD_n) or -1 for none */ - } persistent_system_state_t; - #ifdef __cplusplus } #endif |