summaryrefslogtreecommitdiff
path: root/src/heartratetask/HeartRateTask.cpp
AgeCommit message (Collapse)AuthorFilesLines
2021-06-12Move most of the code from the constructor of the objects statically ↵Jean-François Milants1-2/+3
initialized in main() into Start()/Init() functions to avoid Static Initialization Order Fiasco (https://en.cppreference.com/w/cpp/language/siof). See https://github.com/JF002/InfiniTime/pull/415#issuecomment-859004238.
2021-06-06Initialize SystemTask, DisplayApp and HeartRateTask as global static ↵Jean-François Milants1-1/+1
variable instead of variables on the heap. We don't need them on the heap as we know their size at build time, it'll reduce memory fragmentation and it'll make memory analysis easier.
2021-04-24Reformatted all the files according to clang-format styleAvamander1-13/+16
2021-02-03Increase FreeRTOS heap size and re-enable heart rate task. New Nimble ↵Jean-François Milants1-2/+2
probably uses more memory than before.
2021-02-02Update to nimble 1.3 master branch commit ↵Jean-François Milants1-2/+2
82153e744833821e20e9a8b0d61c38b2b0dbcfe1 WARNING : heartbeat task is disabled!
2021-01-17HR Sensor : Add start/stop button to the HeartRate app (the HR sensors stays ↵Jean-François Milants1-4/+12
ON when the app is closed), display the HR value on the Clock app.
2021-01-10First implementation of the HR sensor using 100% foss code (ported from waspos)Jean-François Milants1-0/+89