| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Remove unused pointer to DisplayApp member variables (#2125) | NeroBurner | 2024-09-29 | 9 | -14/+6 |
| | | | | | | | | | In the screens that use `DisplayApp *app` and pass it to a child item, or use the reference just in the constructor. Afterwards the `app` member is not used. So remove it from the private member variables. Completely remove `app` parameter from `SettingDisplay` constructor as it is unused. | ||||
| * | Alarm persist to flash (#1367) | NeroBurner | 2024-09-28 | 5 | -48/+135 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * AlarmController: Add saving alarm time to file Save the set alarm time to the SPI NOR flash, so it does not reset to the default value when the watch resets, e.g. due to watchdog timeout or reflashing of a new version of InfiniTime. Just like the `Settings.h` `LoadSettingsFromFile()` the previous alarm at boot (if available) and `SaveSettingsToFile()` the current alarm when the `Alarm.h` screen is closed (only if the settings have changed). The alarm-settings file is stored in `.system/alarm.dat`. The `.system` folder is created if it doesn't yet exist. Fixes: https://github.com/InfiniTimeOrg/InfiniTime/issues/1330 * alarmController: close .system dir after usage Close the `lfs_dir` object for the `.system` dir after usage. Otherwise on the second changed alarm the system will lockup because the `.system` dir is already open and was never closed. --------- Co-authored-by: Galdor Takacs <g@ldor.de> | ||||
| * | Hrs3300: fix includes for std::begin/std::end | Reinhold Gschweicher | 2024-09-22 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | Fix for Hrs3300 PR about Atomic HRS reads: https://github.com/InfiniTimeOrg/InfiniTime/pull/1845 We use `std::begin` and `std::end`, but we don't include one of the headers that define those functions. See https://en.cppreference.com/w/cpp/iterator/begin for a list of headers that define `std::begin` and `std::end`. Starting with GCC 14 this leads to a compilation error presumably because they cleaned up their headers. Fix code by inlcuding `<iterator>` | ||||
| * | Atomic HRS reads (#1845) | mark9064 | 2024-09-22 | 5 | -37/+37 |
| | | | | | | | | | | | - Combine the reading of all `HRS3300` registers into one I2C read so data is not partial - Downsizes both HRS and ALS to 16bit as the sensor does not generate larger than 16bit values in its current configuration - Increasing the resolution by 1 bit doubles the sensor acquisition time, since we are already at 10Hz we are never going to use a higher resolution - The PPG algorithm buffers for ALS/HRS are already 16bit anyway - Remove functions for setting gain / drive that are unused throughout the codebase - Calculate constants with constexpr | ||||
| * | Refactor doNotGoToSleep to a wakelock counter | mark9064 | 2024-09-21 | 17 | -41/+87 |
| | | |||||
| * | Refactor SystemTask state handling for resilience | mark9064 | 2024-09-21 | 5 | -88/+100 |
| | | | | | | | State transitions now happen immediately where possible This simplifies state management in general, and prevents bugs such as the chime issue from occurring in the first place | ||||
| * | Remove unused method declarations | mark9064 | 2024-09-21 | 1 | -3/+0 |
| | | |||||
| * | notifications: Dismiss to watchface when empty (#1716) | Eli Tan | 2024-09-18 | 1 | -4/+5 |
| | | | | | | | | | | Set `running` to false to flag end of watchface when there are no more notifications left to display. I found it slightly annoying that dismissing all notifications leaves me with a "No notification to display" message. Instead of dismissing to a relatively useless message, dismiss to watchface. | ||||
| * | Restrict debugging monitor to debug builds | mark9064 | 2024-09-14 | 1 | -1/+1 |
| | | |||||
| * | Clean unused DisplayApp messages | mark9064 | 2024-09-14 | 3 | -34/+7 |
| | | |||||
| * | Use DirtyValue for timer | mark9064 | 2024-09-14 | 2 | -8/+14 |
| | | |||||
| * | Size optimise NRF SDK build | mark9064 | 2024-09-14 | 1 | -1/+0 |
| | | |||||
| * | DisplayApp: Go to clock on sleep if no app loaded | Victor Kareh | 2024-08-22 | 1 | -2/+14 |
| | | | | | | | When turning off the screen, if there is no actual app loaded (i.e. we are still in the Launcher, Notifications, QuickSettings, or Settings screens) we should just reload the Clock app directly. | ||||
| * | Advertise HR service | mark9064 | 2024-08-18 | 4 | -12/+11 |
| | | |||||
| * | Remove space before colon | Derry Tutt | 2024-08-18 | 1 | -2/+2 |
| | | |||||
| * | Display the SPI flash JEDEC IDs in SystemInformation. | Jean-François Milants | 2024-08-05 | 9 | -13/+38 |
| | | | | | This is needed since a new memory chip will be used in future batches of PineTimes. | ||||
| * | aod: simplify AOD disablement based on notification status | mark9064 | 2024-08-05 | 1 | -32/+5 |
| | | |||||
| * | aod: avoid spinning DisplayApp under high LVGL load | mark9064 | 2024-08-05 | 1 | -7/+9 |
| | | |||||
| * | aod: run LVGL task handler until all work finished | mark9064 | 2024-08-05 | 1 | -1/+3 |
| | | |||||
| * | aod: constant frequency idle frames | mark9064 | 2024-08-05 | 2 | -1/+55 |
| | | |||||
| * | aod: porch control: 2Hz idle + 75Hz on | mark9064 | 2024-08-05 | 2 | -14/+38 |
| | | |||||
| * | aod: lower lcd voltage | mark9064 | 2024-08-05 | 2 | -0/+9 |
| | | |||||
| * | aod: lower voltage going to the display | John Crawford | 2024-08-05 | 2 | -0/+17 |
| | | |||||
| * | aod: fix flashlight brightness restore | mark9064 | 2024-08-05 | 2 | -0/+3 |
| | | |||||
| * | aod: fix brightness getting stuck high | mark9064 | 2024-08-05 | 3 | -9/+9 |
| | | |||||
| * | aod: lower refresh rate when always on | John Crawford | 2024-08-05 | 2 | -0/+44 |
| | | |||||
| * | aod: switch to 8 colors when always on | John Crawford | 2024-08-05 | 3 | -1/+30 |
| | | |||||
| * | aod: disable while in notification sleep | John Crawford | 2024-08-05 | 2 | -7/+38 |
| | | |||||
| * | aod: integrate with display timeout | John Crawford | 2024-08-05 | 3 | -17/+28 |
| | | |||||
| * | aod: PPI/RTC-based backlight brightness | mark9064 | 2024-08-05 | 4 | -16/+146 |
| | | |||||
| * | feat: always on display | KaffeinatedKat | 2024-08-05 | 5 | -9/+43 |
| | | |||||
| * | Batch display command arguments | mark9064 | 2024-06-19 | 2 | -35/+32 |
| | | |||||
| * | Continuous time updates | Jean-François Milants | 2024-06-09 | 1 | -0/+41 |
| | | | | | Add TODO.md in src/components/datetime. This file give detailed information about a refactoring of the DateTimeController that would be nice to do in the future. | ||||
| * | Include assert (fix sim) | mark9064 | 2024-06-09 | 1 | -0/+1 |
| | | |||||
| * | Continuous time updates | mark9064 | 2024-06-09 | 6 | -26/+43 |
| | | |||||
| * | Remove unnecessary BMA421 reads | Felipe Martínez | 2024-06-02 | 1 | -7/+0 |
| | | |||||
| * | Move motorController.Init call to DisplayApp::Start | Felipe Martinez | 2024-06-02 | 1 | -1/+1 |
| | | |||||
| * | Fix erratum 58 workaround | mark9064 | 2024-05-12 | 2 | -26/+43 |
| | | |||||
| * | Include task header (Fixes sim) | mark9064 | 2024-05-01 | 1 | -0/+1 |
| | | |||||
| * | Move includes back | mark9064 | 2024-05-01 | 2 | -3/+4 |
| | | |||||
| * | Apply display driver datasheet delays | mark9064 | 2024-05-01 | 2 | -9/+45 |
| | | |||||
| * | Use FreeRTOS delay instead of spinning the CPU | mark9064 | 2024-05-01 | 1 | -7/+6 |
| | | |||||
| * | Rename to pre-transaction hook | mark9064 | 2024-05-01 | 6 | -10/+10 |
| | | |||||
| * | Avoid storing lambda | mark9064 | 2024-05-01 | 6 | -29/+14 |
| | | |||||
| * | Refactor lambdas | mark9064 | 2024-05-01 | 2 | -20/+18 |
| | | |||||
| * | Use functional abstraction for hooks | mark9064 | 2024-05-01 | 8 | -28/+38 |
| | | |||||
| * | Refactor display WriteToRam | mark9064 | 2024-05-01 | 2 | -5/+4 |
| | | |||||
| * | Remove task to notify | mark9064 | 2024-05-01 | 7 | -29/+4 |
| | | |||||
| * | SPI transaction hooks | mark9064 | 2024-05-01 | 9 | -29/+52 |
| | | |||||
| * | fix: heartrate app displays --- instead of 000 (#1887) | John Crawford | 2024-04-12 | 1 | -3/+7 |
| | | |||||
