aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/motor
Commit message (Collapse)AuthorAgeFilesLines
* 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-062-17/+17
| | | | | | | | | | | * 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>
* MotorController: no need to make this function a class functionReinhold Gschweicher2022-02-191-1/+1
| | | | | The `StopRinging()` function was used just in `Notifications.h` screen. That screen already has access to a `motorController` object.
* 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-141-1/+0
|\
| * Remove unused include in MotoController.hReinhold Gschweicher2021-09-131-1/+0
| | | | | | | | Remove the unused include `app_timer.h` in `MotorController.h`
* | Merge branch 'develop' into disable_notif_onlyRiku Isokoski2021-09-132-6/+6
|\|
| * Merge branch 'develop' into pinmaphubmartin2021-08-222-10/+34
| |\
| * | PinMap with namespace and constexprhubmartin2021-08-032-5/+5
| | |
* | | Toggle notifications only, keep vibrations.Riku Isokoski2021-09-122-13/+2
| |/ |/|
* | ImprovementsRiku Isokoski2021-08-012-28/+24
| |
* | 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-162-2/+2
| | | | | | | | additional whitespaces
* | implemented continuous vibration pattern for incoming callsFlorian Kraupa2021-05-162-8/+35
|/
* Changed access modified indentationAvamander2021-04-241-2/+2
|
* Reformatted all the files according to clang-format styleAvamander2021-04-242-19/+21
|
* Big UI and navigation RewriteJoaquim2021-04-042-1/+9
| | | | | | | | | | | 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-052-24/+10
|
* remove vibtimer from .h to fix nonstop vibrationjlukanc2021-01-251-1/+0
|
* move app timer defjlukanc2021-01-252-5/+5
|
* remove unneeded definesjlukanc2021-01-232-39/+1
|
* add motor to notifs, fix tabs in motorcontroller.hjlukanc2021-01-151-34/+34
|
* add non-blocking motor controllerjlukanc2021-01-152-0/+97