mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 16:25:31 +03:00
Extend the scope of BOXPARALYZE to cover stick commands, adjustments, and CMS.
This commit is contained in:
parent
ba95968e08
commit
4fb58b340e
5 changed files with 19 additions and 17 deletions
|
@ -30,8 +30,6 @@
|
|||
|
||||
#include "build/build_config.h"
|
||||
|
||||
#include "cms/cms.h"
|
||||
|
||||
#include "common/axis.h"
|
||||
#include "common/maths.h"
|
||||
|
||||
|
@ -136,6 +134,7 @@ throttleStatus_e calculateThrottleStatus(void)
|
|||
rcDelayMs -= (t); \
|
||||
doNotRepeat = false; \
|
||||
}
|
||||
|
||||
void processRcStickPositions()
|
||||
{
|
||||
// time the sticks are maintained
|
||||
|
@ -146,12 +145,6 @@ void processRcStickPositions()
|
|||
static uint8_t rcDisarmTicks;
|
||||
static bool doNotRepeat;
|
||||
|
||||
#ifdef USE_CMS
|
||||
if (cmsInMenu) {
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
|
||||
// checking sticks positions
|
||||
uint8_t stTmp = 0;
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue