summaryrefslogtreecommitdiff
path: root/src/components/alarm
AgeCommit message (Collapse)AuthorFilesLines
2022-06-06Switch to freertos timers (#1095)Michele Bini2-17/+14
* Use FreeRTOS timer for AlarmController * Use FreeRTOS timer for MotorController * Remove app_timer component from compilation as we now solely use FreeROTS timer * Simplify variable and text names for AlarmController and MotorController timers * Call ScheduleAlarm directly from StopAlerting, for recurring timers Co-authored-by: Riku Isokoski <riksu9000@gmail.com> Co-authored-by: NeroBurner <pyro4hell@gmail.com>
2022-06-05Apply clang-format to all C++ filesFinlay Davidson1-2/+1
2022-03-29AlarmController: allow loss of precision for alarmTime castReinhold Gschweicher1-1/+2
Allow a loss of precision if the system clock has a lower resolution than nanoseconds. This is the case for web assembly.
2021-12-09AlarmController: remove unused app_timer.h include in headerReinhold Gschweicher1-1/+0
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher1-1/+1
Don't use relative imports like `../foo.h` as those depend on the relative position of both files. Rather than that use imports relative to the `src` directory, which explicitly is part of the include directories.
2021-09-16Fixes per Riksu9000's feedbackMark Russell2-7/+7
2021-09-13License header fix, add missing bracesMark Russell2-3/+12
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell2-35/+40
2021-09-10Created basic alarm appMark Russell2-0/+168