InfiniTime_mirror/src
Jean-François Milants d7e4f7993d Continuous time update - Alternative implementation to #2041
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
2024-05-01 20:14:55 +02:00
..
buttonhandler ButtonHandler: includes relative to src dir 2022-01-16 20:59:49 +01:00
components Continuous time update - Alternative implementation to #2041 2024-05-01 20:14:55 +02:00
displayapp Remove task to notify 2024-05-01 16:13:47 +02:00
drivers Include task header (Fixes sim) 2024-05-01 16:17:59 +02:00
FreeRTOS Refactor pvPortRealloc() to improve readability. 2023-05-18 19:58:09 +02:00
heartratetask Simplify ISR task wake checks 2024-03-12 19:09:01 +01:00
libs weather: Colorize forecast temperatures 2024-02-18 12:57:48 +01:00
logging Format header files 2023-01-09 21:41:21 +01:00
resources lv_img_conv: support other modes like 'P' 2024-01-23 08:51:14 +01:00
systemtask Continuous time update - Alternative implementation to #2041 2024-05-01 20:14:55 +02:00
touchhandler TouchHandler: Do not store touch panel reference 2023-02-24 00:05:21 +02:00
utility motioncontroller: Add functions for analysis 2023-08-17 21:21:22 +02:00
BootErrors.h Automatic error detection 2021-08-18 15:23:30 +03:00
BootloaderVersion.cpp Fix InfiniTime compiler warnings 2022-06-19 13:41:33 +03:00
BootloaderVersion.h Fix InfiniTime compiler warnings 2022-06-19 13:41:33 +03:00
CMakeLists.txt weather: Add new app with forecast 2024-02-18 12:57:48 +01:00
FreeRTOSConfig.h Remove task to notify 2024-05-01 16:13:47 +02:00
main.cpp Use functional abstraction for hooks 2024-05-01 16:13:47 +02:00
main.h Enable malloc error and stack overflow error detection in FreeRTOS. Count them and display them in the SystemInfo app. 2023-05-18 19:58:09 +02:00
recoveryLoader.cpp Use functional abstraction for hooks 2024-05-01 16:13:47 +02:00
sdk_config.h Switch to freertos timers (#1095) 2022-06-06 17:47:43 +02:00
stdlib.c Unify all heaps (stdlib + LVGL + FreeRTOS) into a single heap managed by FreeRTOS and heap_4_infinitime.c. 2023-05-18 19:58:09 +02:00
Version.h.in Add missing standard includes 2021-11-15 22:02:49 +01:00