TinyWATCH-S3 / Official-firmware

Official firmware for Unexpected Maker's TinyWATCH S3
GNU General Public License v3.0
16 stars 7 forks source link

too many initializer values in display.h #37

Closed tetraDB closed 7 months ago

tetraDB commented 7 months ago

When I try to compile the code, I'm getting an error about too many intializer values: -

const uint8_t backlight_settings_vbus[3] = {200, 150, 100, 0}; const uint8_t backlight_settings_vbat[3] = {200, 100, 50, 0};

Should it be size [4] or not have the ,0 at the end?

https://github.com/TinyWATCH-S3/Official-firmware/blob/139e8ab861037877398dfd8ab7b23b307bf6ab84/Platform-io-source/src/display.h#L83

https://github.com/TinyWATCH-S3/Official-firmware/blob/139e8ab861037877398dfd8ab7b23b307bf6ab84/Platform-io-source/src/display.h#L84

UnexpectedMaker commented 7 months ago

Woops, looks like I committed something I was not supposed to. Sorry.

I just pushed the fix, please re-pull.

tetraDB commented 7 months ago

Great, thanks!