Commit b7cbc536 authored by captainwong's avatar captainwong

update

parent 75e357ca
......@@ -93,6 +93,7 @@ void switch_filter(ademco_zone_t zone, ademco_event_t event) {
auto it = switch_alarms.find(zone);
if (it == switch_alarms.end()) {
switch_alarms[zone] = {now, event};
switch_report(zone, event);
return;
}
if (now - it->second.time < DEDUP_GAP) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment