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

Change rcsplit protocol to async

This commit is contained in:
azolyoung 2018-06-06 00:17:02 +08:00 committed by azol
parent 713e72321b
commit 53458d4cf1
13 changed files with 517 additions and 2105 deletions

View file

@ -39,10 +39,12 @@ typedef struct rcdeviceSwitchState_s {
extern runcamDevice_t *camDevice;
extern bool rcdeviceInMenu;
bool rcdeviceInit(void);
void rcdeviceInit(void);
void rcdeviceUpdate(timeUs_t currentTimeUs);
bool rcdeviceIsEnabled(void);
// used for unit test
rcdeviceSwitchState_t switchStates[BOXCAMERA3 - BOXCAMERA1 + 1];
void rcdeviceSend5KeyOSDCableSimualtionEvent(rcdeviceCamSimulationKeyEvent_e key);