X-Git-Url: https://git.rvb.name/esp-clock.git/blobdiff_plain/7fff81f521f6b9d6f277d972f59411452fb4a677..c8479d5c8f2df8ff0395a0b49da752328581e5b1:/alarm.cpp?ds=sidebyside diff --git a/alarm.cpp b/alarm.cpp index e609dba..2964418 100644 --- a/alarm.cpp +++ b/alarm.cpp @@ -24,6 +24,7 @@ void checkAlarm() { int alarm_silent_ms = cfg.getIntValue(F("alarm_silent_ms")); if ( enable_alarm && (hh == alarm_hour) && (mi == alarm_minute) && (alarm_days[dw?dw-1:6]!='0')) { beep(alarm_tone, alarm_length * 1000, alarm_beep_ms, alarm_silent_ms); + reportMessage(F("Будильник сработал!")); } }