mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-15 20:35:33 +03:00
Cleanup disabling of mixers for CJMCU, this might be usefulfor the
AlienWii32 target too. Deleted old out of date comments. Various other minor cleanups.
This commit is contained in:
parent
db14bd80cb
commit
b123b4ef03
6 changed files with 69 additions and 54 deletions
|
@ -1340,9 +1340,11 @@ static bool processInCommand(void)
|
|||
masterConfig.batteryConfig.currentMeterOffset = read16();
|
||||
break;
|
||||
|
||||
#ifndef USE_QUAD_MIXER_ONLY
|
||||
case MSP_SET_MIXER:
|
||||
masterConfig.mixerConfiguration = read8();
|
||||
break;
|
||||
#endif
|
||||
|
||||
case MSP_SET_RX_CONFIG:
|
||||
masterConfig.rxConfig.serialrx_provider = read8();
|
||||
|
@ -1364,8 +1366,8 @@ static bool processInCommand(void)
|
|||
|
||||
case MSP_SET_CONFIG:
|
||||
|
||||
#ifdef CJMCU
|
||||
read8(); // multitype
|
||||
#ifdef USE_QUAD_MIXER_ONLY
|
||||
read8(); // multitype ignored
|
||||
#else
|
||||
masterConfig.mixerConfiguration = read8(); // multitype
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue