1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00

Separation of boxId and permanentId.

This commit is contained in:
jflyper 2018-02-16 10:22:50 +09:00
parent 1bcfa5ddb0
commit 18d5a373c0
7 changed files with 32 additions and 25 deletions

View file

@ -25,6 +25,8 @@ typedef struct box_s {
const uint8_t permanentId; // permanent ID used to identify BOX. This ID is unique for one function, DO NOT REUSE IT
} box_t;
#define PERMANENT_ID_NONE 255
const box_t *findBoxByBoxId(boxId_e boxId);
const box_t *findBoxByPermanentId(uint8_t permanentId);