diff options
author | Anton Babushkin <anton.babushkin@me.com> | 2014-07-07 15:18:12 +0200 |
---|---|---|
committer | Anton Babushkin <anton.babushkin@me.com> | 2014-07-07 15:18:12 +0200 |
commit | 29bf1fe6fa40968f1cda53c3aa9f4dad3ec25ebb (patch) | |
tree | 64fb4537f0cd032a62d091845e75e0215e17f263 /src/modules/dataman/dataman.h | |
parent | 9a69c7ba0e688b3d020c2bd740dfd24187d95865 (diff) | |
download | px4-firmware-29bf1fe6fa40968f1cda53c3aa9f4dad3ec25ebb.tar.gz px4-firmware-29bf1fe6fa40968f1cda53c3aa9f4dad3ec25ebb.tar.bz2 px4-firmware-29bf1fe6fa40968f1cda53c3aa9f4dad3ec25ebb.zip |
dataman: added macro for offboard storage selection
Diffstat (limited to 'src/modules/dataman/dataman.h')
-rw-r--r-- | src/modules/dataman/dataman.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/dataman/dataman.h b/src/modules/dataman/dataman.h index dbace21ef..d625bf985 100644 --- a/src/modules/dataman/dataman.h +++ b/src/modules/dataman/dataman.h @@ -57,6 +57,8 @@ extern "C" { DM_KEY_NUM_KEYS /* Total number of item types defined */ } dm_item_t; + #define DM_KEY_WAYPOINTS_OFFBOARD(_id) (_id == 0 ? DM_KEY_WAYPOINTS_OFFBOARD_0 : DM_KEY_WAYPOINTS_OFFBOARD_1) + /** The maximum number of instances for each item type */ enum { DM_KEY_SAFE_POINTS_MAX = 8, |