aboutsummaryrefslogtreecommitdiff
path: root/src/modules/dataman/dataman.h
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-06-09 16:09:03 +0200
committerAnton Babushkin <anton.babushkin@me.com>2014-06-09 16:09:03 +0200
commit4ad435b483510158ea8a5b303cd680f9e982df84 (patch)
treeffe51c05754e5640c45b76117c5c8b41d8567bef /src/modules/dataman/dataman.h
parenta6cf04a6ff623b7d39a97c70f837198b6c064f5b (diff)
downloadpx4-firmware-4ad435b483510158ea8a5b303cd680f9e982df84.tar.gz
px4-firmware-4ad435b483510158ea8a5b303cd680f9e982df84.tar.bz2
px4-firmware-4ad435b483510158ea8a5b303cd680f9e982df84.zip
dataman: allow writing empty items with nullptr pointer to data
Diffstat (limited to 'src/modules/dataman/dataman.h')
-rw-r--r--src/modules/dataman/dataman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/dataman/dataman.h b/src/modules/dataman/dataman.h
index f2b6cd4d3..b25a2a5ef 100644
--- a/src/modules/dataman/dataman.h
+++ b/src/modules/dataman/dataman.h
@@ -133,7 +133,7 @@ extern "C" {
in this header, but till I find it a better home here it is */
typedef struct {
- char current_offboard_waypoint_id; /* the index of the active offboard waypoint data */
+ 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;