aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/alarm
Commit message (Collapse)AuthorAgeFilesLines
* Format header filesFinlay Davidson2023-01-091-0/+6
| | | | In my PR updating clang-format, I forgot to also format the headers.
* Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski2022-12-181-1/+1
| | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks.
* AlarmController: add const to SecondsToAlarm() functionReinhold Gschweicher2022-09-272-2/+2
| | | | | | The function `SecondsToAlarm()` doesn't change anything in the `AlarmController` object. Mark the function `const` to show this property.
* Switch to freertos timers (#1095)Michele Bini2022-06-062-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>
* Apply clang-format to all C++ filesFinlay Davidson2022-06-051-2/+1
|
* AlarmController: allow loss of precision for alarmTime castReinhold Gschweicher2022-03-291-1/+2
| | | | | Allow a loss of precision if the system clock has a lower resolution than nanoseconds. This is the case for web assembly.
* AlarmController: remove unused app_timer.h include in headerReinhold Gschweicher2021-12-091-1/+0
|
* Update includes to to be relative to src directoryReinhold Gschweicher2021-11-151-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.
* Fixes per Riksu9000's feedbackMark Russell2021-09-162-7/+7
|
* License header fix, add missing bracesMark Russell2021-09-132-3/+12
|
* Fixes based on code reviews (formatting, UI code)Mark Russell2021-09-132-35/+40
|
* Created basic alarm appMark Russell2021-09-102-0/+168