summaryrefslogtreecommitdiff
path: root/src/components/alarm
AgeCommit message (Collapse)Author
2022-06-10Make sure duration parameter is not zeroMichele Bini
2022-06-06use tick-based duration type for computationMichele Bini
2022-06-06Merge remote-tracking branch 'origin/develop' into analog24Michele Bini
2022-06-06Switch to freertos timers (#1095)Michele Bini
* 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 Davidson
2022-04-17Differentiate time adjustment (< 3h for example time zone change when ↵Michele Bini
crossing a border or because of daylight saving) and time setting (for example when the firmware is booted for the first time and the companion app sends the time)
2022-04-17Use FreeRTOS timer for AlarmControllerMichele Bini
2022-03-29AlarmController: allow loss of precision for alarmTime castReinhold Gschweicher
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 Gschweicher
2021-11-15Update includes to to be relative to src directoryReinhold Gschweicher
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 Russell
2021-09-13License header fix, add missing bracesMark Russell
2021-09-13Fixes based on code reviews (formatting, UI code)Mark Russell
2021-09-10Created basic alarm appMark Russell