Change iFan03 beep protocol

Change iFan03 beep protocol (#6636)
This commit is contained in:
Theo Arends 2019-10-14 17:08:38 +02:00
parent c296c9a337
commit d57153630f
1 changed files with 2 additions and 2 deletions

View File

@ -125,7 +125,7 @@ void SonoffIfanReceived(void)
snprintf_P(svalue, sizeof(svalue), PSTR(D_CMND_FANSPEED " %d"), action); snprintf_P(svalue, sizeof(svalue), PSTR(D_CMND_FANSPEED " %d"), action);
ExecuteCommand(svalue, SRC_REMOTE); ExecuteCommand(svalue, SRC_REMOTE);
#ifdef USE_BUZZER #ifdef USE_BUZZER
BuzzerEnabledBeep(1); // Beep once BuzzerEnabledBeep(action); // Beep action times
#endif #endif
} }
} else { } else {
@ -140,7 +140,7 @@ void SonoffIfanReceived(void)
if (7 == mode) { if (7 == mode) {
// AA 55 01 07 00 01 01 0A - Rf long press - forget RF codes // AA 55 01 07 00 01 01 0A - Rf long press - forget RF codes
#ifdef USE_BUZZER #ifdef USE_BUZZER
BuzzerEnabledBeep(3); // Beep three times BuzzerEnabledBeep(4); // Beep four times
#endif #endif
} }