From d57153630f037869ad5c67ba022ed5e99e62fae2 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 14 Oct 2019 17:08:38 +0200 Subject: [PATCH] Change iFan03 beep protocol Change iFan03 beep protocol (#6636) --- sonoff/xdrv_22_sonoff_ifan.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sonoff/xdrv_22_sonoff_ifan.ino b/sonoff/xdrv_22_sonoff_ifan.ino index 0dbb31d50..929924b48 100644 --- a/sonoff/xdrv_22_sonoff_ifan.ino +++ b/sonoff/xdrv_22_sonoff_ifan.ino @@ -125,7 +125,7 @@ void SonoffIfanReceived(void) snprintf_P(svalue, sizeof(svalue), PSTR(D_CMND_FANSPEED " %d"), action); ExecuteCommand(svalue, SRC_REMOTE); #ifdef USE_BUZZER - BuzzerEnabledBeep(1); // Beep once + BuzzerEnabledBeep(action); // Beep action times #endif } } else { @@ -140,7 +140,7 @@ void SonoffIfanReceived(void) if (7 == mode) { // AA 55 01 07 00 01 01 0A - Rf long press - forget RF codes #ifdef USE_BUZZER - BuzzerEnabledBeep(3); // Beep three times + BuzzerEnabledBeep(4); // Beep four times #endif }