Searched refs:rnd_array (Results 1 – 1 of 1) sorted by relevance
/lvgl-3.7.0/demos/music/ |
D | lv_demo_music_main.c | 97 static const uint16_t rnd_array[30] = {994, 285, 553, 11, 792, 707, 966, 641, 852, 827, 44, 352, 14… variable 246 lv_anim_set_delay(&a, INTRO_TIME - 200 + rnd_array[i] % 200); in _lv_demo_music_main_create() 247 lv_anim_set_time(&a, 2500 + rnd_array[i] % 500); in _lv_demo_music_main_create() 832 uint32_t j = (i + bar_rot + rnd_array[bar_ofs % 10]) % BAR_CNT; in spectrum_draw_event_cb() 833 uint32_t k = (i + bar_rot + rnd_array[(bar_ofs + 1) % 10]) % BAR_CNT; in spectrum_draw_event_cb()
|