dataman: added macro for offboard storage selection

This commit is contained in:
Anton Babushkin 2014-07-07 15:18:12 +02:00
parent 9a69c7ba0e
commit 29bf1fe6fa
1 changed files with 2 additions and 0 deletions

View File

@ -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,