InfiniTime/src
Reinhold Gschweicher 314c02194a Music: initialize totalLength to have non-random data from the start
In the first `Music::Refresh` call the lastLength and totalLength are
not initialized. The `lastLength` value is read first from the
musicService. Naturally in the first itereation that is changed and
`UpdateLength()` is called. There the variable `totalLength` is used as
well, but that variable isn't initialed to a sensible value yet. This
leads to sometimes the `Music.h` screen segfaulting (depending on the
random uninitialized data in the `lastLength` variable)
2022-01-23 23:39:38 +01:00
..
buttonhandler Fix assertion failure in ButtonHandler 2021-12-09 21:16:57 +01:00
components Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into geekbozu-ShakeWake 2022-01-04 21:48:08 +01:00
displayapp Music: initialize totalLength to have non-random data from the start 2022-01-23 23:39:38 +01:00
drivers Move up file header include to top 2021-11-15 22:02:49 +01:00
FreeRTOS Remove debug defines (DEBUG & DEBUG_NRF_USER) from the build. These debug can be useful for debugging purposes but not in production (release). (#400) 2021-06-01 21:02:15 +02:00
heartratetask Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
libs Merge branch 'develop' into patch-weather 2021-12-09 22:20:29 +02:00
logging Removed redundant comments from NrfLogger 2021-12-04 22:03:40 +02:00
systemtask Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into geekbozu-ShakeWake 2022-01-04 21:48:08 +01:00
touchhandler TouchHandler: remove unused FreeRTOS.h and task.h includes from header 2021-12-09 21:30:20 +01:00
BootErrors.h Automatic error detection 2021-08-18 15:23:30 +03:00
BootloaderVersion.cpp SPI flash sleep if bootloader >= 1.0.0 (#322) 2021-06-26 20:53:32 +02:00
BootloaderVersion.h Add missing standard includes 2021-11-15 22:02:49 +01:00
CMakeLists.txt Merge branch 'ShakeWake' of https://github.com/geekbozu/InfiniTime into geekbozu-ShakeWake 2022-01-04 21:48:08 +01:00
FreeRTOSConfig.h LVGL use system tick 2021-07-07 15:47:47 +03:00
main.cpp Use enum classes, remove old comment 2021-10-25 13:40:43 +03:00
main.h Include cleanup: components 2020-11-16 01:35:45 +01:00
recoveryLoader.cpp Revert "Merge upstream" 2021-09-16 16:12:20 -04:00
sdk_config.h Connect and bond with a passkey 2021-12-09 21:14:16 +01:00
Version.h.in Add missing standard includes 2021-11-15 22:02:49 +01:00