example(checkbox): Correct checkbox enable comment (#7763)

This commit is contained in:
Jean THOMAS
2025-03-20 17:28:28 +01:00
committed by GitHub
parent a6ef8a41b7
commit c223514e7d
@@ -17,7 +17,7 @@ static void radio_event_handler(lv_event_t * e)
if(act_cb == cont) return;
lv_obj_remove_state(old_cb, LV_STATE_CHECKED); /*Uncheck the previous radio button*/
lv_obj_add_state(act_cb, LV_STATE_CHECKED); /*Uncheck the current radio button*/
lv_obj_add_state(act_cb, LV_STATE_CHECKED); /*Check the current radio button*/
*active_id = lv_obj_get_index(act_cb);