diff --git a/src/Services/EventReportService.cpp b/src/Services/EventReportService.cpp index 162b4b2349e6f5a14f264d1cf5a027580282c960..8a63e1b246f8e94cf6162cf6b54c821d7565116b 100644 --- a/src/Services/EventReportService.cpp +++ b/src/Services/EventReportService.cpp @@ -125,7 +125,7 @@ void EventReportService::listOfDisabledEventsReport() { uint16_t numberOfDisabledEvents = stateOfEvents.size() - stateOfEvents.count(); report.appendHalfword(numberOfDisabledEvents); for (uint16_t i = 0; i < stateOfEvents.size(); i++) { - if (stateOfEvents[i] == 0) { + if (stateOfEvents[i] == false) { report.appendEnum16(i); } }