1
0
Fork 0
InfiniTime/src/displayapp/screens
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
..
settings Update shakewake menu option 2022-01-06 15:44:39 +02:00
Alarm.cpp Improved format specifiers, bracing, removed C-style casts, whitespace fixes and removed Tiles shadowing 2021-12-09 21:30:04 +01:00
Alarm.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
ApplicationList.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
ApplicationList.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
BatteryIcon.cpp Move up file header include to top 2021-11-15 22:02:49 +01:00
BatteryIcon.h Add missing standard includes 2021-11-15 22:02:49 +01:00
BatteryInfo.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
BatteryInfo.h Merge branch 'restructure_includes' of https://github.com/NeroBurner/InfiniTime into NeroBurner-restructure_includes 2021-11-28 13:53:03 +01:00
BleIcon.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
BleIcon.h Changed access modified indentation 2021-04-24 12:00:45 +03:00
Brightness.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Brightness.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Clock.cpp Merge remote-tracking branch 'upstream/develop' into pts-settings 2021-12-05 20:32:29 +01:00
Clock.h Merge remote-tracking branch 'upstream/develop' into pts-settings 2021-12-05 20:32:29 +01:00
DropDownDemo.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
DropDownDemo.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Error.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Error.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
FirmwareUpdate.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
FirmwareUpdate.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
FirmwareValidation.cpp Improved format specifiers, bracing, removed C-style casts, whitespace fixes and removed Tiles shadowing 2021-12-09 21:30:04 +01:00
FirmwareValidation.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
FlashLight.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
FlashLight.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
HeartRate.cpp Move up file header include to top 2021-11-15 22:02:49 +01:00
HeartRate.h remove unused libs/ prefix from lvgl includes as not needed 2021-11-15 22:02:49 +01:00
InfiniPaint.cpp InfiniPaint: add missing include algorithm for std::fill 2021-12-30 20:58:00 +01:00
InfiniPaint.h Merge branch 'paint-colorchange-vibration' of git://github.com/clemensvonmolo/InfiniTime into clemensvonmolo-paint-colorchange-vibration 2021-12-02 21:42:56 +01:00
Label.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Label.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
List.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
List.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Meter.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Meter.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Metronome.cpp Add missing break 2021-12-30 21:41:17 +01:00
Metronome.h Improve gesture consistency across the firmware 2021-12-30 21:41:17 +01:00
Motion.cpp Move up file header include to top 2021-11-15 22:02:49 +01:00
Motion.h remove unused libs/ prefix from lvgl includes as not needed 2021-11-15 22:02:49 +01:00
Music.cpp Improve gesture consistency across the firmware 2021-12-30 21:41:17 +01:00
Music.h Music: initialize totalLength to have non-random data from the start 2022-01-23 23:39:38 +01:00
Navigation.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Navigation.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
NotificationIcon.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
NotificationIcon.h Changed access modified indentation 2021-04-24 12:00:45 +03:00
Notifications.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Notifications.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Paddle.cpp Paddle: add a little randomization in the dy speed 2021-12-02 21:46:36 +01:00
Paddle.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
PassKey.cpp Fix for passkey screen scramble 2021-12-09 21:14:16 +01:00
PassKey.h Fix for passkey screen scramble 2021-12-09 21:14:16 +01:00
PineTimeStyle.cpp Merge remote-tracking branch 'upstream/develop' into pts-settings 2021-12-09 22:41:29 +01:00
PineTimeStyle.h Merge remote-tracking branch 'upstream/develop' into pts-settings 2021-12-09 22:41:29 +01:00
Screen.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Screen.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
ScreenList.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Steps.cpp Ran clang-format 2021-12-30 21:51:43 +01:00
Steps.h Renamed confusing variables and general cleanup 2021-12-30 21:51:43 +01:00
StopWatch.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
StopWatch.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Styles.cpp Move radio button styling to a single place 2021-12-09 21:32:07 +01:00
Styles.h Move radio button styling to a single place 2021-12-09 21:32:07 +01:00
Symbols.h Add new unique icons for some apps 2021-07-25 17:55:08 +02:00
SystemInfo.cpp Improved format specifiers, bracing, removed C-style casts, whitespace fixes and removed Tiles shadowing 2021-12-09 21:30:04 +01:00
SystemInfo.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Tile.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Tile.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Timer.cpp Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Timer.h Update includes to to be relative to src directory 2021-11-15 22:02:49 +01:00
Twos.cpp Improved format specifiers, bracing, removed C-style casts, whitespace fixes and removed Tiles shadowing 2021-12-09 21:30:04 +01:00
Twos.h Improved format specifiers, bracing, removed C-style casts, whitespace fixes and removed Tiles shadowing 2021-12-09 21:30:04 +01:00
WatchFaceAnalog.cpp WatchFaceAnalog : move notification icon 2021-12-02 21:47:08 +01:00
WatchFaceAnalog.h WatchFaceAnalog: remove unused ScreenList, add needed includes 2021-12-02 21:17:53 +01:00
WatchFaceDigital.cpp Use Bluetooth brand color for BLE logo #0082FC 2021-12-30 20:50:05 +01:00
WatchFaceDigital.h WatchFaceDigital: remove unused include for ScreenList.h 2021-12-02 21:18:39 +01:00
Weather.cpp Fixed air quality amounts being off by a few orders of magnitude 2021-12-04 22:03:40 +02:00
Weather.h Bunch of bugs fixed, improved error handling, debug UI addition 2021-12-04 22:03:40 +02:00