mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 01:35:41 +03:00
Changed CLI to use permanent mode ids.
This commit is contained in:
parent
c2307a4bea
commit
8a7241f6cb
3 changed files with 39 additions and 28 deletions
|
@ -18,6 +18,16 @@
|
|||
#pragma once
|
||||
|
||||
#include "msp/msp.h"
|
||||
#include "rc_controls.h"
|
||||
|
||||
typedef struct box_e {
|
||||
const uint8_t boxId; // see boxId_e
|
||||
const char *boxName; // GUI-readable box name
|
||||
const uint8_t permanentId; //
|
||||
} box_t;
|
||||
|
||||
const box_t *findBoxByBoxId(uint8_t boxId);
|
||||
const box_t *findBoxByPermanentId(uint8_t permenantId);
|
||||
|
||||
void mspFcInit(void);
|
||||
mspResult_e mspFcProcessCommand(mspPacket_t *cmd, mspPacket_t *reply, mspPostProcessFnPtr *mspPostProcessFn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue