From edb207e27c4944916ef54cce5db131ec1ed1e124 Mon Sep 17 00:00:00 2001 From: patricklaf Date: Wed, 5 Jan 2022 09:59:24 +0100 Subject: [PATCH] chore(docs) fix typo in btnmatrix.md (#2960) Fix typo. --- docs/widgets/core/btnmatrix.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/widgets/core/btnmatrix.md b/docs/widgets/core/btnmatrix.md index 1489140e4..cb85eb996 100644 --- a/docs/widgets/core/btnmatrix.md +++ b/docs/widgets/core/btnmatrix.md @@ -56,7 +56,7 @@ An element of `ctrl_map` should look like `ctrl_map[0] = width | LV_BTNM_CTRL_NO The number of elements should be equal to the number of buttons (excluding newlines characters). ### One check -The "One check" feature can be enabled with `lv_btnmatrix_set_one_check(btnm, true)` to allow only one button to be checked at a time. +The "One check" feature can be enabled with `lv_btnmatrix_set_one_checked(btnm, true)` to allow only one button to be checked at a time. ## Events - `LV_EVENT_VALUE_CHANGED` Sent when a button is pressed/released or repeated after long press. The event parameter is set to the ID of the pressed/released button.