aboutsummaryrefslogtreecommitdiff
path: root/src/modules/dataman
diff options
context:
space:
mode:
authorJulian Oes <julian@oes.ch>2013-12-14 20:54:25 +0100
committerJulian Oes <julian@oes.ch>2013-12-16 17:13:17 +0100
commit6a624abd7c8fe9cf32b5f5a91bceeb93f730a0ec (patch)
treef241b184d183fc81ebdd1b9ed977220662fe18c4 /src/modules/dataman
parentbed40c962e94aaa9b1f398a201ef88096a35810a (diff)
downloadpx4-firmware-6a624abd7c8fe9cf32b5f5a91bceeb93f730a0ec.tar.gz
px4-firmware-6a624abd7c8fe9cf32b5f5a91bceeb93f730a0ec.tar.bz2
px4-firmware-6a624abd7c8fe9cf32b5f5a91bceeb93f730a0ec.zip
Datamanager: Rename mavlink/offboard key
Diffstat (limited to 'src/modules/dataman')
-rw-r--r--src/modules/dataman/dataman.c2
-rw-r--r--src/modules/dataman/dataman.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/dataman/dataman.c b/src/modules/dataman/dataman.c
index acd612d9e..874a47be7 100644
--- a/src/modules/dataman/dataman.c
+++ b/src/modules/dataman/dataman.c
@@ -111,7 +111,7 @@ static unsigned g_func_counts[dm_number_of_funcs];
static const unsigned g_per_item_max_index[DM_KEY_NUM_KEYS] = {
DM_KEY_SAFE_POINTS_MAX,
DM_KEY_FENCE_POINTS_MAX,
- DM_KEY_WAYPOINTS_MAX,
+ DM_KEY_WAYPOINTS_OFFBOARD_MAX,
DM_KEY_WAYPOINTS_ONBOARD_MAX
};
diff --git a/src/modules/dataman/dataman.h b/src/modules/dataman/dataman.h
index dab96eb9b..2a781405a 100644
--- a/src/modules/dataman/dataman.h
+++ b/src/modules/dataman/dataman.h
@@ -50,7 +50,7 @@ extern "C" {
typedef enum {
DM_KEY_SAFE_POINTS = 0, /* Safe points coordinates, safe point 0 is home point */
DM_KEY_FENCE_POINTS, /* Fence vertex coordinates */
- DM_KEY_WAYPOINTS, /* Mission way point coordinates sent over mavlink */
+ DM_KEY_WAYPOINTS_OFFBOARD, /* Mission way point coordinates sent over mavlink */
DM_KEY_WAYPOINTS_ONBOARD, /* Mission way point coordinates generated onboard */
DM_KEY_NUM_KEYS /* Total number of item types defined */
} dm_item_t;
@@ -59,7 +59,7 @@ extern "C" {
enum {
DM_KEY_SAFE_POINTS_MAX = 8,
DM_KEY_FENCE_POINTS_MAX = GEOFENCE_MAX_VERTICES,
- DM_KEY_WAYPOINTS_MAX = NUM_MISSIONS_SUPPORTED,
+ DM_KEY_WAYPOINTS_OFFBOARD_MAX = NUM_MISSIONS_SUPPORTED,
DM_KEY_WAYPOINTS_ONBOARD_MAX = NUM_MISSIONS_SUPPORTED
};