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:
parent
1bcfa5ddb0
commit
18d5a373c0
7 changed files with 32 additions and 25 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue