aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
Commit message (Collapse)AuthorAgeFilesLines
* Refactor watch face to enum (#1339)Max Friedrich2023-04-301-6/+7
| | | | | | | change watch face from int to enum --------- Co-authored-by: minacode <minamoto9@web.de>
* Refactored Ppg for frequency based algorithm. (#1486)Ceimour2023-04-306-178/+317
| | | | | | | New implementation of the heart rate sensor data processing using a frequency based PPG algorithm. The HRS3300 settings are fine-tuned for better signal to noise at 10Hz. The measurement delay is now set to 100ms. Enable and use the ambient light sensor. FFT implementation based on ArduinoFFT (https://github.com/kosme/arduinoFFT, GPLv3.0).
* TimerController: Rename to TimerRiku Isokoski2023-04-162-8/+8
|
* TimerController: Make TimerController reusableRiku Isokoski2023-04-162-24/+3
| | | | TimerController instance was moved to DisplayApp.
* MotionController: Remove IsOk variableRiku Isokoski2023-04-161-9/+0
| | | | We should be able to assume MotionController is safe to use.
* linearapproximation: Move to src/utilityFinlay Davidson2023-03-272-43/+1
|
* WeatherService: const DateTimeController referenceRiku Isokoski2023-03-192-3/+3
|
* HeartRateService: Remove SystemTask dependencyRiku Isokoski2023-03-193-11/+8
|
* MotionService: Remove SystemTask dependencyRiku Isokoski2023-03-193-12/+9
|
* NavigationService: Remove unused SystemTask refRiku Isokoski2023-03-193-11/+2
|
* WeatherService: Remove unused SystemTask referenceRiku Isokoski2023-03-193-10/+3
|
* MusicService: Remove SystemTask dependencyRiku Isokoski2023-03-193-10/+8
|
* raisewake: Change names in line with the style guideFinlay Davidson2023-03-092-8/+8
|
* motioncontroller: Fix clang-tidy warningsFinlay Davidson2023-03-092-15/+12
| | | | Also move one-line functions to header.
* shakewake: Switch to more generic timekeepingFinlay Davidson2023-03-092-7/+10
| | | | Could be used for other motion-based algorithms in the future.
* shakewake: Simplify return codeFinlay Davidson2023-03-091-5/+1
|
* shakewake: Switch to more generic last* varsFinlay Davidson2023-03-092-11/+16
| | | | | These could be used for other motion-based algorithms in the future. Also fix includes.
* shakewake: Fix names according to style guideFinlay Davidson2023-03-092-12/+12
|
* Revert "added low battery message"Riku Isokoski2023-03-022-17/+0
| | | | This reverts PR https://github.com/InfiniTimeOrg/InfiniTime/pull/1352
* LVGL / FS : Initialize the LVGL FS driver in LittleVgl (instead of FS).Jean-François Milants2023-02-262-64/+0
| | | | | | Previously, the LVGL driver for the filesystem was initialized in the class FS. However, since 6f942e2, the order of the initializations was incorrect : the driver was initialized (FS::LVGLFileSystemInit()) before LVGL (LittleVgl.Init()), which means that the driver registration was probably dropped when LVGL was initialized. The LVGL driver is now initialized in LittleVgl.Init(), which seems to make much more sense, since all LVGL drivers are initialized there. This way, we ensure that the initialization of the drivers is consistent.
* DateTimeController: Fix integer overflowRiku Isokoski2023-02-261-1/+1
|
* date: Remove date libRiku Isokoski2023-02-252-0/+5
| | | | DateTimeController can provide everything we need.
* DateTimeController: Use std::tm for storing dateRiku Isokoski2023-02-252-31/+22
|
* DateTimeController: Remove SetTime tick parameterRiku Isokoski2023-02-255-12/+6
| | | | | | The systick doesn't need to be updated when setting time. Also removed unused nrf_rtc.h includes.
* SystemTask: Move MotorController to DisplayAppRiku Isokoski2023-02-251-1/+0
| | | | | Vibrations should be associated with something happening on the UI. Therefore SystemTask should not be controlling the motor.
* TimerController: Use chrono for durationsRiku Isokoski2023-02-232-7/+9
|
* clang-format: Always break template declarationsRiku Isokoski2023-02-161-1/+2
| | | | | I find this format easier to read, because the definitions are at the expected indentation, making it easier to find what I'm looking for.
* src: Enable unused parameter warningRiku Isokoski2023-01-2428-92/+76
| | | | | | Fix warnings. Some clang-formatting was necessary. DebugPins is unused and was removed.
* batt: Improve discharge curve valuesFinlay Davidson2023-01-231-9/+4
| | | | Values calculated using multiple tests on 3 PineTimes
* Format header filesFinlay Davidson2023-01-0923-0/+82
| | | | In my PR updating clang-format, I forgot to also format the headers.
* Update clang-{format,tidy} to 14Finlay Davidson2023-01-045-0/+11
| | | | | Also add configuration options only available in 13 and 14. Fixes warning about -fstack-usage in clang-tidy check.
* formatminacode2022-12-271-1/+0
|
* changed to boolminacode2022-12-272-3/+8
|
* fixed a comment, set threshold to 15%minacode2022-12-272-2/+2
|
* cutout scaling hackminacode2022-12-271-5/+0
|
* formatminacode2022-12-271-1/+1
|
* added message, changed UIminacode2022-12-272-5/+9
|
* add percentage rescalingminacode2022-12-271-1/+7
|
* added low battery messageminacode2022-12-272-0/+7
|
* Update clang-tidy configuration and fix some warnings (#1474)Riku Isokoski2022-12-187-32/+39
| | | | | Don't enable coding conventions from unrelated projects. Only enable generic checks.
* BLE CTS: fixed signedness of timezoneuli2022-11-253-9/+9
|
* WeatherService daily min/max temperature fixes (#1455)kieranc2022-11-251-6/+8
| | | | * Min/Max function fixes * Faster way to calculate day start
* Add linear approximation and use it for improving battery percentageAlex Dolzhenkov2022-11-193-36/+51
| | | | | | | | Add linear approximation class and use it to better model the non-linear discharge curve of the battery. Changed the minimum voltage level to 3.5V and the maximum to 4.18V. For reference the maximum observed voltage is 4.21V during charging.
* Update BatteryController.h with non-linear discharge curvehassless2022-11-192-5/+36
|
* add CTS local time characteristic and use it to provide UTC in ↵uli2022-11-116-53/+158
| | | | DateTimeController
* Checkbox list now receives a function pointer to call when the setting has ↵Jean-François Milants2022-10-111-8/+5
| | | | changed. This allow to remove the dependency between CheckBoxList (UI component) with SettingController.
* Edit all occurences of "watchface" to "watch face"mashuptwice2022-10-101-3/+3
|
* Merge branch 'pts-options' of github.com:kieranc/InfiniTime into ↵Jean-François Milants2022-10-021-0/+12
|\ | | | | | | | | | | | | kieranc-pts-options # Conflicts: # src/components/settings/Settings.h
| * CleanupKieran Cawthray2022-09-061-2/+1
| |
| * Implement persistent settingsKieran Cawthray2022-09-061-1/+14
| |