Commit graph

2227 commits

Author SHA1 Message Date
Patric Gruber 71b31c78fb use switch case 2024-08-31 00:40:58 +02:00
Patric Gruber 0978964b7d Merge branch 'heartrate-measurements-in-background' of github.com:patricgruber/InfiniTime into heartrate-measurements-in-background 2024-08-31 00:40:10 +02:00
Patric Gruber cedca795e2 use switch case 2024-08-31 00:39:13 +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
Patric Gruber 0370e3cd65 remove background start timestamp reset on sleep 2024-07-11 15:05:37 +02:00
Patric Gruber 58c507ee45 increase task delay when waiting in the background to 10s 2024-07-11 15:05:02 +02:00
Patric Gruber f7b1111e05 add heart rate measurments in the background 2024-07-11 15:05:02 +02:00
mark9064 f8f8993fac Batch display command arguments 2024-06-19 17:25:15 +02:00
Max Buchholz fdc3b8badb README: Change links from Pine wiki to new documentation
As the Wiki was replaced by a new documentation website and is read-only, we should update the links, to point to the most up-to-date documentation.
2024-06-15 12:00:37 +02:00
Jean-François Milants f9a16feeaf Continuous time updates
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.
2024-06-09 18:34:07 +02:00
mark9064 4930c0cab7 Include assert (fix sim) 2024-06-09 18:34:07 +02:00
mark9064 a449b272f7 Continuous time updates 2024-06-09 18:34:07 +02:00
Felipe Martínez 9e406c70f9 Remove unnecessary BMA421 reads 2024-06-02 15:48:26 +02:00
Felipe Martinez 0c87bc27b2 Move motorController.Init call to DisplayApp::Start 2024-06-02 15:14:02 +02:00
mark9064 0dcfb2edb7 Fix erratum 58 workaround 2024-05-12 13:57:12 +02:00
mark9064 06c6935315 Include task header (Fixes sim) 2024-05-01 16:17:59 +02:00
mark9064 47c104643d Move includes back 2024-05-01 16:17:59 +02:00
mark9064 7b1110187e Apply display driver datasheet delays 2024-05-01 16:17:59 +02:00
mark9064 7e460d3c80 Use FreeRTOS delay instead of spinning the CPU 2024-05-01 16:17:59 +02:00
mark9064 7a9211587a Rename to pre-transaction hook 2024-05-01 16:13:47 +02:00
mark9064 24e6a2f8ab Avoid storing lambda 2024-05-01 16:13:47 +02:00
mark9064 9a7ba405e1 Refactor lambdas 2024-05-01 16:13:47 +02:00
mark9064 940cd3459f Use functional abstraction for hooks 2024-05-01 16:13:47 +02:00
mark9064 869bec8f88 Refactor display WriteToRam 2024-05-01 16:13:47 +02:00
mark9064 ee925200c3 Remove task to notify 2024-05-01 16:13:47 +02:00
mark9064 079e676baf SPI transaction hooks 2024-05-01 16:13:47 +02:00
John Crawford 6b5235c301
fix: heartrate app displays --- instead of 000 (#1887) 2024-04-12 14:50:33 +02:00
BloodStainedCrow 57e625d4dc
Unify docker devcontainer with dockerfile used for CI (#1587)
* Only use one Dockerfile and build.sh script for both docker and devcontainer
* Remove all now unneccessary tasks and scripts
* Update to clang-format-14
* Move devcontainer.json into root folder
* Fix conditional statements in Dockerfile
* Move .devcontainer/README into doc/usingDevcontainers
* Remove obsolete VSCode Task
* Change standard compiler path to the correct compiler
* Set GDB Path for debugging
* Hide broken buttons from CMake Extension
* Refactor .devcontainer
* Remove unneccessary postBuildCommand
* Add devcontainer dependencies to all docker images
* Add Devcontainer Debug launch config
* Add an additional c_cpp_properties config as a fallback for devcontainer
* Remove obsolete Docker Argument
* Fix wrong C/Cpp versions
* Fix silent fail of gdb, add libncurses5
2024-03-23 10:45:45 +01:00
Victor Kareh 9a5f516c42 WatchFaceDigital: Remove unused variables 2024-03-20 20:31:35 +01:00