Commit graph

1613 commits

Author SHA1 Message Date
D. Scott Boggs 7d8e58d863 Merge branch 'heartrate-measurements-in-background'
Some checks are pending
CI / build-firmware (push) Waiting to run
CI / build-simulator (push) Waiting to run
CI / get-base-ref-size (push) Waiting to run
CI / Compare build size (push) Blocked by required conditions
2024-09-15 09:07:20 -04:00
D. Scott Boggs fd15fd238d bump settings version 2024-09-15 08:43:08 -04:00
mark9064 c8236afbef Restrict debugging monitor to debug builds 2024-09-14 12:10:55 +02:00
mark9064 5040733a97 Clean unused DisplayApp messages 2024-09-14 12:10:14 +02:00
mark9064 fd019c7aad Use DirtyValue for timer 2024-09-14 11:20:47 +02:00
mark9064 975bfc5420 Size optimise NRF SDK build 2024-09-14 11:19:34 +02:00
Patric Gruber 7df39994ab integrate code review 2024-08-31 20:49:19 +02:00
Patric Gruber 9501d36060 use better state names 2024-08-31 00:54:05 +02:00
Patric Gruber 71b31c78fb use switch case 2024-08-31 00:40:58 +02:00
Victor Kareh 2625ed39e5 DisplayApp: Go to clock on sleep if no app loaded
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.
2024-08-22 17:34:25 +02:00
mark9064 4fddf93114 Advertise HR service 2024-08-18 12:00:13 +02:00
Derry Tutt 83922fb3de Remove space before colon 2024-08-18 11:58:56 +02:00
Jean-François Milants 3a0d673df4 Display the SPI flash JEDEC IDs in SystemInformation.
This is needed since a new memory chip will be used in future batches of PineTimes.
2024-08-05 20:34:41 +02:00
mark9064 53dc9dafe7 aod: simplify AOD disablement based on notification status 2024-08-05 20:32:43 +02:00
mark9064 a407902b06 aod: avoid spinning DisplayApp under high LVGL load 2024-08-05 20:32:43 +02:00
mark9064 3e8accde69 aod: run LVGL task handler until all work finished 2024-08-05 20:32:43 +02:00
mark9064 2bb611db8e aod: constant frequency idle frames 2024-08-05 20:32:43 +02:00
mark9064 ef88e8165c aod: porch control: 2Hz idle + 75Hz on 2024-08-05 20:32:43 +02:00
mark9064 da9ab4a7b4 aod: lower lcd voltage 2024-08-05 20:32:43 +02:00
John Crawford 0bcd7e0009 aod: lower voltage going to the display 2024-08-05 20:32:43 +02:00
mark9064 bf69e0dcc5 aod: fix flashlight brightness restore 2024-08-05 20:32:43 +02:00
mark9064 947c4f5067 aod: fix brightness getting stuck high 2024-08-05 20:32:43 +02:00
John Crawford 0960d67001 aod: lower refresh rate when always on 2024-08-05 20:32:43 +02:00
John Crawford 5385f7e275 aod: switch to 8 colors when always on 2024-08-05 20:32:43 +02:00
John Crawford e884b053d3 aod: disable while in notification sleep 2024-08-05 20:32:43 +02:00
John Crawford 85a2181b64 aod: integrate with display timeout 2024-08-05 20:32:43 +02:00
mark9064 3dca742b65 aod: PPI/RTC-based backlight brightness 2024-08-05 20:32:43 +02:00
KaffeinatedKat 20ac7e8df3 feat: always on display 2024-08-05 20:32:43 +02:00
Patric Gruber 78af44eafe
keep measuring when transitioning to background
Co-authored-by: Simon Effenberg <savar@schuldeigen.de>
2024-07-17 20:18:31 +02:00
Patric Gruber e6f0a89202 reduce RAM size 2024-07-11 15:53:18 +02:00
Patric Gruber 616926345e refactor heartrate task (switch cases, comments with explanation) 2024-07-11 15:06:27 +02:00
Patric Gruber 6a0276f164 fix settings screen 2024-07-11 15:06:27 +02:00
Patric Gruber 7cf4f6e1ec fix bug where settings open pair pin screen 2024-07-11 15:06:27 +02:00
Patric Gruber ffc5f96d9a bump settings version 2024-07-11 15:06:27 +02:00
Patric Gruber 3b432cd310 fix issues after rebase on main 2024-07-11 15:06:27 +02:00
Patric Gruber d78f26201b fix DisplayApp.cpp 2024-07-11 15:06:27 +02:00
Patric Gruber 4ed4d2cfcd use pdMS_TO_TICKS correctly, format using clang-format 2024-07-11 15:06:27 +02:00
Patric Gruber 50d88bbe84 bump settings version, fix types 2024-07-11 15:06:27 +02:00
Patric Gruber 520e50901a fix rebase mistakes 2024-07-11 15:06:27 +02:00
Patric Gruber 04ed068ff9 add settings screen to choose heartrate measurement background 2024-07-11 15:06:27 +02:00
Patric Gruber 69578a679a properly format using clang-format 2024-07-11 15:06:27 +02:00
Patric Gruber eeaf5374d4 stop background after 30s of no data from the heart rate sensor 2024-07-11 15:06:22 +02:00
Patric Gruber f94c074064 rebase on main 2024-07-11 15:06:09 +02:00
Patric Gruber a2edd931ec add heart rate measurments in the background 2024-07-11 15:05:59 +02:00
Patric Gruber d376a856b7 use enum instead of uint32_t for heartrater interval setting 2024-07-11 15:05:59 +02:00
Patric Gruber be1a519098 use different style for the heartrate settings and fix issues with settings file 2024-07-11 15:05:59 +02:00
Patric Gruber 27ee1eb2c8 add settings screen to choose heartrate measurement background 2024-07-11 15:05:59 +02:00
Patric Gruber 5dbe1f77b5 properly format using clang-format 2024-07-11 15:05:59 +02:00
Patric Gruber 7ae790bcdb stop background after 30s of no data from the heart rate sensor 2024-07-11 15:05:50 +02:00
Patric Gruber a5db54af27 rebase on main 2024-07-11 15:05:37 +02:00