jakkra / ZSWatch

ZSWatch - the Open Source Zephyr™ based Smartwatch, including both HW and FW.
https://forms.gle/G48Sm5zDe9aCaYtT9
GNU General Public License v3.0
2.26k stars 191 forks source link

do not refresh watchface if only one is selected #186

Closed apewo closed 8 months ago

apewo commented 8 months ago

this one line fix prevent the watchface app to refresh/glitch when only one watchface is selected

Kampi commented 8 months ago

@apewo did you run west format? If not please run it and push the change again 👍

Kampi commented 8 months ago

@apewo we have a new format issue in battery_app.c. I think this is a common issue with newer versions of astyle that also happens to me. Which version of astyle do you use? If it´s not 3.1 can you please download and use 3.1?

apewo commented 8 months ago

the pip, or the native app ?, the native is 3.4 on my distro, i will have to recompile 3.1 then. the pip , minimum i see is 3.3

pip install astyle==3.1
ERROR: Could not find a version that satisfies the requirement astyle==3.1 (from versions: 3.3b3, 3.3, 3.3.1, 3.4, 3.4.2, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10)
ERROR: No matching distribution found for astyle==3.1
jakkra commented 8 months ago

the pip, or the native app ?, the native is 3.4 on my distro, i will have to recompile 3.1 then. the pip , minimum i see is 3.3

pip install astyle==3.1
ERROR: Could not find a version that satisfies the requirement astyle==3.1 (from versions: 3.3b3, 3.3, 3.3.1, 3.4, 3.4.2, 3.4.4, 3.4.5, 3.4.6, 3.4.7, 3.4.8, 3.4.9, 3.4.10)
ERROR: No matching distribution found for astyle==3.1

On Ubuntu sudo apt-get only have 3.1, this is why it's the one we use for now. Try install with apt