Closed Felix2017 closed 2 years ago
the line "int32_t r = (rnd_map[rnd_act] % d) + min;" maybe need to check the value 'd'
rnd_next(int32_t min, int32_t max) (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/lv_examples/src/lv_demo_benchmark/lv_demo_benchmark.c:1007) fall_anim(lv_obj_t obj) (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/lv_examples/src/lv_demo_benchmark/lv_demo_benchmark.c:976) rect_create(lv_style_t style) (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/lv_examples/src/lv_demo_benchmark/lv_demo_benchmark.c:877) rectangle_cb() (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/lv_examples/src/lv_demo_benchmark/lv_demo_benchmark.c:94) scene_next_task_cb(lv_timer_t * timer) (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/lv_examples/src/lv_demo_benchmark/lv_demo_benchmark.c:705) lv_demo_benchmark() (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/lv_examples/src/lv_demo_benchmark/lv_demo_benchmark.c:650) main(int argc, char ** argv) (/home/mi/localProject/lvgl/lv_sim_vscode_sdl/main/src/main.c:100)
the line "int32_t r = (rnd_map[rnd_act] % d) + min;" maybe need to check the value 'd'