From cc8119d0a7b7040c87f45835c19b1ce451e36510 Mon Sep 17 00:00:00 2001 From: manison Date: Mon, 18 Mar 2019 10:50:54 +0100 Subject: [PATCH] lv_btnm: fix function name typo --- src/lv_objx/lv_btnm.c | 2 +- src/lv_objx/lv_btnm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lv_objx/lv_btnm.c b/src/lv_objx/lv_btnm.c index c9a525608..3f88a7a2a 100644 --- a/src/lv_objx/lv_btnm.c +++ b/src/lv_objx/lv_btnm.c @@ -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]); diff --git a/src/lv_objx/lv_btnm.h b/src/lv_objx/lv_btnm.h index b1e0f043b..5d04cec41 100644 --- a/src/lv_objx/lv_btnm.h +++ b/src/lv_objx/lv_btnm.h @@ -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.