aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/motor/MotorController.cpp
Commit message (Collapse)AuthorAgeFilesLines
* timer: Add ringing and counterVictor Kareh2025-12-131-0/+4
| | | | | | | | | The timer app issues a short buzz once and then disappears. There is no trace left that the timer finished or how long ago. This change makes the motor start ringing and presents a timer counter. The timer stops buzzing after 10 seconds, and finally resets after 1 minute.
* src: Enable unused parameter warningRiku Isokoski2023-01-241-1/+1
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* motorController: Fix infinite vibration on RunForDuration(0)Galdor Takacs2022-10-021-1/+1
|
* Switch to freertos timers (#1095)Michele Bini2022-06-061-15/+11
| | | | | | | | | | | * 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>
* 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.
* Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-131-5/+6
|\
| * Merge branch 'develop' into pinmaphubmartin2021-08-221-8/+29
| |\
| * | PinMap with namespace and constexprhubmartin2021-08-031-4/+5
| | |
* | | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-121-10/+0
| |/ |/|
* | ImprovementsRiku Isokoski2021-08-011-22/+18
| |
* | Merge branch 'develop' into HEADRiku Isokoski2021-08-011-2/+2
|\|
| * Timer App (#355)Florian2021-05-201-1/+0
| | | | | | | | | | | | | | | | | | | | | | * built timer app * Style improvements * making sure buttons stay hidden when the app is reopened and reappear after the timer runs out * more sensible calculations of time deltas. eliminated that mysterious scaling factor * changing the timer icon
* | cleaned up the code and reduced the size of the diff by removing things like ↵Florian Kraupa2021-05-161-1/+1
| | | | | | | | additional whitespaces
* | implemented continuous vibration pattern for incoming callsFlorian Kraupa2021-05-161-6/+30
|/
* Reformatted all the files according to clang-format styleAvamander2021-04-241-12/+14
|
* Big UI and navigation RewriteJoaquim2021-04-041-1/+6
| | | | | | | | | | | new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
* refactor MotorControllerpetter2021-02-051-24/+9
|
* move app timer defjlukanc2021-01-251-1/+2
|
* remove unneeded definesjlukanc2021-01-231-1/+0
|
* add non-blocking motor controllerjlukanc2021-01-151-0/+40