1
0
mirror of https://github.com/lvgl/lvgl.git synced 2025-01-14 06:42:58 +08:00

Merge pull request #958 from manison/patch/fix-function-name-typo

Fix function name typo in btnm
This commit is contained in:
embeddedt 2019-03-18 09:01:10 -04:00 committed by GitHub
commit 9f37a9803d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -590,7 +590,7 @@ const char * lv_btnm_get_btn_text(const lv_obj_t * btnm, uint16_t btn_id)
* @param btn_index the index a button not counting new line characters. (The return value of lv_btnm_get_pressed/released)
* @return true: long press repeat is disabled; false: long press repeat enabled
*/
bool lv_btnm_get_btn_no_repeate(lv_obj_t * btnm, uint16_t btn_id)
bool lv_btnm_get_btn_no_repeat(lv_obj_t * btnm, uint16_t btn_id)
{
lv_btnm_ext_t * ext = lv_obj_get_ext_attr(btnm);
return button_is_repeat_disabled(ext->ctrl_bits[btn_id]);

View File

@ -264,7 +264,7 @@ const char * lv_btnm_get_btn_text(const lv_obj_t * btnm, uint16_t btn_id);
* @param btn_index the index a button not counting new line characters. (The return value of lv_btnm_get_pressed/released)
* @return true: long press repeat is disabled; false: long press repeat enabled
*/
bool lv_btnm_get_btn_no_repeate(lv_obj_t * btnm, uint16_t btn_id);
bool lv_btnm_get_btn_no_repeat(lv_obj_t * btnm, uint16_t btn_id);
/**
* Check whether a button for a button is hidden or not.