aboutsummaryrefslogtreecommitdiffstats
path: root/src/systemtask/SystemTask.cpp
Commit message (Collapse)AuthorAgeFilesLines
* SystemTask: forward declare BatteryController to fix of cyclic dependencyReinhold Gschweicher2022-02-191-0/+1
| | | | | | | | | SystemTask.h included BatteryController.h, and BatteryController.h included SystemTask.h. If unlucky the class SystemTask isn't created yet when BatteryController wants to use it. Fix that cyclic dependency by forward declaring the BatteryController class and including it in the SystemTask.cpp file, where it is needed.
* SystemTask: remove unused ble includesReinhold Gschweicher2022-02-191-9/+0
| | | | | Remove unused includes. The firmware still compiles fine without the includes.
* SystemTask: fix static cast missing brackets syntaxReinhold Gschweicher2022-02-121-2/+2
| | | | | | | | | The static_cast syntax requires brackets around the input variable. The implementation worked because the used input are defines, which add the missing brackets like the following: ```cpp #define GPIO_PIN_CNF_SENSE_Low (3UL) ```
* Merge pull request #949 from Riksu9000/fix_alarmJF2022-01-261-0/+3
|\ | | | | Fix alarm on time change
| * Fix alarm on time changeRiku Isokoski2022-01-221-0/+3
| |
* | Merge pull request #903 from Riksu9000/improved_notif_timeoutJF2022-01-261-0/+1
|\ \ | |/ |/| Improved notification timeout
| * Improved notification timeoutRiku Isokoski2022-01-011-0/+1
| |
* | Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into ↵Jean-François Milants2022-01-041-7/+13
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | geekbozu-ShakeWake # Conflicts: # src/CMakeLists.txt # src/displayapp/Apps.h # src/displayapp/DisplayApp.cpp # src/displayapp/screens/settings/Settings.cpp
| * | Add start of settings app for senstivity.Tim Keller2022-01-041-1/+2
| | | | | | | | | | | | | | | really just debugging. I want to make it more configurable then high med low. Position of setting needs a new location...dynamicly adding it currently at the end. Which honestly im fine with.
| * | CleanupTim Keller2022-01-041-1/+1
| | |
| * | Added Shake to wakeTim Keller2022-01-041-7/+12
| |/
* | Adds enum class for chimes optionSteveAmor2022-01-041-2/+2
| |
* | resolves conflictsSteveAmor2022-01-021-38/+122
|\|
| * List Dir works?Tim Keller2021-12-101-0/+13
| |
| * Fixed unpopped diagnosticAvamander2021-12-091-1/+1
| |
| * Improved format specifiers, bracing, removed C-style casts, whitespace fixes ↵Avamander2021-12-091-17/+28
| | | | | | | | and removed Tiles shadowing
| * Break not return thanks @FintasticManTim Keller2021-12-091-1/+1
| |
| * Adjust systemtask to respect doNotGoToSleep.Tim Keller2021-12-091-1/+4
| |
| * Adjust BLE/LL stacks, style, comments, refactoringJames A. Jerkins2021-12-091-1/+2
| | | | | | | | | | Increase BLE task stack +200 and decrease LL task stack -200 more braces!
| * Persist bond between rebootsJames A. Jerkins2021-12-091-1/+2
| | | | | | | | | | | | | | | | | | Save bond information in the FS after a disconnect or encryption change if the bond is not already stored. The bond is restored on boot enabling automatic reconnection to a previously bonded central. Two consecutive watch reboots with the central out of range (or BLE off) will remove the stored bond from the watch.
| * Connect and bond with a passkeyJames A. Jerkins2021-12-091-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds the following: Passkey pairing - passkey is displayed on watch Swipe down to clear passkey screen Connection encryption Connection bonding Automatic reconnects to a bonded peripheral Trusted device on Android Note that persisting the bond between reboots is NOT included in this commit. Therefore, rebooting the watch will cause reconnect failures. You must delete the bond from the phone to reconnect/pair.
| * 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.
| * Fix previous commit, call touchPanel.Init() even if we disabled the touch ↵Jean-François Milants2021-11-071-0/+1
| | | | | | | | controller boot error.
| * Disable the warning that is displayed when the initialization of the touch ↵Jean-François Milants2021-11-071-0/+5
| | | | | | | | controller fails, as some users reported that it was displayed when a valid touch controller was installed.
| * Make it so special actions can be input while sleeping, like in #480Riku Isokoski2021-10-251-4/+8
| |
| * Only wake up on press. Fixes issue with longer press and sleepRiku Isokoski2021-10-251-5/+4
| |
| * Return button action instead of pushing messagesRiku Isokoski2021-10-251-26/+44
| |
| * Use enum classes, remove old commentRiku Isokoski2021-10-251-2/+2
| |
| * Newer buttonhandlerRiku Isokoski2021-10-251-21/+42
| |
* | format changesSteveAmor2021-11-071-2/+2
| |
* | Chimes optionSteveAmor2021-11-071-0/+20
|/
* Add MotionService : expose step count and RAW X/Y/Z values to the host.Jean-François Milants2021-10-171-1/+2
|
* Make new notifications refresh idle timerFederico Igne2021-10-141-5/+8
|
* Merge branch 'update_touch_driver' of git://github.com/Riksu9000/InfiniTime ↵Jean-François Milants2021-10-101-2/+7
|\ | | | | | | | | | | | | into Riksu9000-update_touch_driver # Conflicts: # src/displayapp/Apps.h
| * Merge branch 'develop' into update_touch_driverRiku Isokoski2021-10-051-3/+5
| |\
| * \ Merge branch 'develop' into update_touch_driverRiku Isokoski2021-09-181-0/+14
| |\ \
| * \ \ Merge branch 'develop' into update_touch_driverRiku Isokoski2021-09-141-33/+43
| |\ \ \
| * \ \ \ Merge branch 'develop' into update_touch_driverRiku Isokoski2021-08-281-20/+14
| |\ \ \ \
| * | | | | Automatic error detectionRiku Isokoski2021-08-181-2/+7
| | | | | |
| * | | | | Merge branch 'develop' into update_touch_driverRiku Isokoski2021-08-171-17/+44
| |\ \ \ \ \
| * \ \ \ \ \ Merge branch 'develop' into update_touch_driverRiku Isokoski2021-07-151-9/+9
| |\ \ \ \ \ \
| * | | | | | | Update touchpad driverRiku Isokoski2021-07-141-1/+1
| | | | | | | |
* | | | | | | | Remove call to `batteryController.Update();` which was replaced by ↵Jean-François Milants2021-10-091-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `batteryController.MeasureVoltage()`.
* | | | | | | | Merge pull request #715 from hubmartin/gpiote-fixJF2021-10-091-9/+10
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Fix GPIOTE not calling ISR when button is held during boot
| * | | | | | | | Code cleanuphubmartin2021-10-031-6/+0
| | | | | | | | |
| * | | | | | | | Call battery controller updatehubmartin2021-10-031-1/+3
| | | | | | | | |
| * | | | | | | | GPIOTE fix of button and power detection experimenthubmartin2021-10-031-9/+13
| | |_|_|_|_|_|/ | |/| | | | | |
* | | | | | | | Merge pull request #719 from Riksu9000/improve_battery_reportingJF2021-10-091-9/+6
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | Improve battery percentage calculation and reporting
| * | | | | | | | Don't measure and notify percentage on charging event.Riku Isokoski2021-10-091-3/+4
| | | | | | | | |
| * | | | | | | | Improve battery percentage calculation and reportingRiku Isokoski2021-10-041-6/+2
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While charging, percentage should only go up, and while discharging, percentage should only go down.