InfiniTimeOrg / InfiniTime

Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
GNU General Public License v3.0
2.64k stars 907 forks source link

MotionController: Simplify responsibilities #1700

Closed Riksu9000 closed 6 months ago

Riksu9000 commented 1 year ago

This is for making it easier to move the wakeup implementations from SystemTask to the application.

Motion service is updated in SystemTask instead of MotionController, similar to the battery level.

I'm not able to test all of the changes, mainly the motion service is not tested.

Closes #1679

github-actions[bot] commented 1 year ago
Build size and comparison to main: Section Size Difference
text 406392B -16B
data 940B 0B
bss 53568B 16B