mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-20 23:05:19 +03:00
Added resource index display.
This commit is contained in:
parent
c2db38fec9
commit
768b345166
20 changed files with 74 additions and 80 deletions
|
@ -100,6 +100,11 @@ typedef enum {
|
|||
OWNER_TOTAL_COUNT
|
||||
} resourceOwner_e;
|
||||
|
||||
typedef struct resourceOwner_s {
|
||||
resourceOwner_e owner;
|
||||
uint8_t resourceIndex;
|
||||
} resourceOwner_t;
|
||||
|
||||
extern const char * const ownerNames[OWNER_TOTAL_COUNT];
|
||||
|
||||
#define RESOURCE_INDEX(x) (x + 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue