Add two new multi protocols (#4240)

- Add binding sound while multi module is binding.
This commit is contained in:
Arne Schwabe
2017-01-15 21:51:44 +01:00
committed by Bertrand Songis
parent 81e042971c
commit bedaa505a2
19 changed files with 82 additions and 27 deletions
+4
View File
@@ -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);