diff options
author | Xiang Xiao <xiaoxiang@xiaomi.com> | 2022-02-22 19:47:04 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-22 12:47:04 +0100 |
commit | 550a15c3171f655273b7bf0a226c3a7bf7746b18 (patch) | |
tree | 30128b9b53518e459e24e77bdfb67d380c9d7f37 /scripts/code-format.py | |
parent | 30648ab4f11ba779d095f98e5ef7463a6472e47a (diff) | |
download | lvgl-550a15c3171f655273b7bf0a226c3a7bf7746b18.tar.gz lvgl-550a15c3171f655273b7bf0a226c3a7bf7746b18.zip |
fix(demo): minor fix for benchmark (#3114)
1.add const to rnd_map
2.replace "i < sizeof(scenes) / sizeof(scene_dsc_t) - 1" with "scenes[i].create_cb"
3.replace "sizeof(scenes) / sizeof(scene_dsc_t)" with "dimof(scenes)"
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Diffstat (limited to 'scripts/code-format.py')
0 files changed, 0 insertions, 0 deletions