minor fixes

This commit is contained in:
Gabor Kiss-Vamosi
2021-05-10 09:53:04 +02:00
parent bad4450795
commit f73e813562
3 changed files with 9 additions and 3 deletions

View File

@@ -4,7 +4,13 @@ C
Simple Roller
""""""""""""""""
.. lv_example:: lv_ex_widgets/lv_ex_roller/lv_ex_roller_1
.. lv_example:: widgets/roller/lv_example_roller_1
:language: c
Styling the roller
""""""""""""""""""
.. lv_example:: widgets/roller/lv_example_roller_2
:language: c
MicroPython

View File

@@ -8,7 +8,7 @@ static void event_handler(lv_event_t * e)
if(code == LV_EVENT_VALUE_CHANGED) {
char buf[32];
lv_roller_get_selected_str(obj, buf, sizeof(buf));
LV_LOG_USER("Selected value: %s\n", buf);
LV_LOG_USER("Selected value: %s", buf);
}
}