mirror of
https://github.com/InfiniTimeOrg/InfiniTime.git
synced 2024-10-22 15:11:51 +02:00
d7e4f7993d
This is an alternative implementation to #2041 we talked about in this comment (https://github.com/InfiniTimeOrg/InfiniTime/pull/2041#issuecomment-2081533165). This implementation does not change the state of the DateTime controller (previousSystickCounter and currentDateTime fields) in GetCurrentDateTime(). This allows to keep the method GetCurrentDateTime() const. I also applied a small refactoring of the methods UpdateTime() to avoid trying to lock the same mutex multiple times (FreeRTOS mutexes are not reentrant). Co-authored-by: 30447455+mark9064@users.noreply.github.com |
||
---|---|---|
.. | ||
buttonhandler | ||
components | ||
displayapp | ||
drivers | ||
FreeRTOS | ||
heartratetask | ||
libs | ||
logging | ||
resources | ||
systemtask | ||
touchhandler | ||
utility | ||
BootErrors.h | ||
BootloaderVersion.cpp | ||
BootloaderVersion.h | ||
CMakeLists.txt | ||
FreeRTOSConfig.h | ||
main.cpp | ||
main.h | ||
recoveryLoader.cpp | ||
sdk_config.h | ||
stdlib.c | ||
Version.h.in |