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
2021-12-30 21:43:03 +01:00
2021-11-28 13:42:37 +01:00
2021-09-13 20:02:53 +02:00
2021-12-30 20:57:26 +01:00
2021-11-13 13:37:52 +02:00
2021-01-30 18:52:14 +02:00
2021-01-30 18:48:06 +02:00
2021-12-30 20:57:26 +01:00
2021-12-04 22:03:40 +02:00
2021-01-05 00:34:15 +00:00
2022-01-07 17:27:43 +01:00
2021-08-14 20:58:38 +02:00
2021-08-23 20:13:26 +00:00
2020-08-02 17:38:51 +02:00

InfiniTime

Build PineTime Firmware

InfiniTime logo

Fast open-source firmware for the PineTime smartwatch with many features, written in modern C++.

New to InfiniTime?

Companion apps

Development

Contributing

Build, flash and debug

API

Architecture and technical topics

Licenses

This project is released under the GNU General Public License version 3 or, at your option, any later version.

It integrates the following projects:

Credits

Im not working alone on this project. First, many people create PR for this projects. Then, there is the whole #pinetime community : a lot of people all around the world who are hacking, searching, experimenting and programming the Pinetime. We exchange our ideas, experiments and code in the chat rooms and forums.

Here are some people I would like to highlight:

  • Atc1441 : He works on an Arduino based firmware for the Pinetime and many other smartwatches based on similar hardware. He was of great help when I was implementing support for the BMA421 motion sensor and I²C driver.
  • Koen : Hes working on a firmware based on RiotOS. He integrated similar libs as me : NimBLE, LittleVGL,… His help was invaluable too!
  • Lup Yuen Lee : He is everywhere: he works on a Rust firmware, builds a MCUBoot based bootloader for the Pinetime, designs a Flutter based companion app for smartphones and writes a lot of articles about the Pinetime!

If you feel like you should appear on this list, just get in touch with me or submit a PR :)

Description
Firmware for Pinetime smartwatch written in C++ and based on FreeRTOS
Readme 80 MiB
Languages
C 87.9%
C++ 8.9%
Python 1.7%
CMake 0.9%
Ruby 0.3%
Other 0.3%