diff --git a/inc/Services/EventReportService.hpp b/inc/Services/EventReportService.hpp index 24cb7ee79a7509ef1fb081e70d402019929ad3c8..6c2d95ff9deb65d67842d8b9a2ea26afd3657374 100644 --- a/inc/Services/EventReportService.hpp +++ b/inc/Services/EventReportService.hpp @@ -53,6 +53,9 @@ public: /** * Type of the information event + * + * Note: Numbers are kept in code explicitly, so that there is no uncertainty when something + * changes. */ enum Event { /** diff --git a/src/Services/EventReportService.cpp b/src/Services/EventReportService.cpp index 7f0b764213e371bf94755c04e47e1be381c73e39..37a41d5c800b6b9e378cea7f17ffda828a0d10bb 100644 --- a/src/Services/EventReportService.cpp +++ b/src/Services/EventReportService.cpp @@ -81,7 +81,7 @@ void EventReportService::enableReportGeneration(uint16_t length, Event *eventID) void EventReportService::disableReportGeneration(uint16_t length, Event *eventID) { // TC[5,6] /** - * @todo: Report an error if length>numberOfEvents + * @todo: Report an error if length > numberOfEvents */ if (length <= numberOfEvents) { for (uint16_t i = 0; i < length; i++) {