Add two new multi protocols (#4240)
- Add binding sound while multi module is binding.
This commit is contained in:
committed by
Bertrand Songis
parent
81e042971c
commit
bedaa505a2
@@ -1785,7 +1785,11 @@ void doMixerCalculations()
|
||||
#if defined(PXX) || defined(DSM2)
|
||||
static uint8_t countRangecheck = 0;
|
||||
for (uint8_t i=0; i<NUM_MODULES; ++i) {
|
||||
#if defined(MULTIMODULE)
|
||||
if (moduleFlag[i] != MODULE_NORMAL_MODE || (i == EXTERNAL_MODULE && multiModuleStatus.isBinding())) {
|
||||
#else
|
||||
if (moduleFlag[i] != MODULE_NORMAL_MODE) {
|
||||
#endif
|
||||
if (++countRangecheck >= 250) {
|
||||
countRangecheck = 0;
|
||||
AUDIO_PLAY(AU_SPECIAL_SOUND_CHEEP);
|
||||
|
||||
Reference in New Issue
Block a user