From 5a8ffb1de369f63976f329d797a5562380775091 Mon Sep 17 00:00:00 2001 From: Byron Date: Mon, 15 Sep 2025 18:31:59 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E5=A4=8D=E5=8F=8C=E5=87=BB?= =?UTF-8?q?=E6=97=B6=E6=B3=A8=E5=86=8CBTN=5FPRESS=5FREPEAT=E5=9B=9E?= =?UTF-8?q?=E8=B0=83=E6=97=B6=EF=BC=8C=E8=AF=AF=E8=A7=A6=E5=8F=91BTN=5FPRE?= =?UTF-8?q?SS=5FDOWN=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- multi_button.c | 1 + 1 file changed, 1 insertion(+) diff --git a/multi_button.c b/multi_button.c index b43c6d0..0c98e10 100644 --- a/multi_button.c +++ b/multi_button.c @@ -183,6 +183,7 @@ static void button_handler(Button* handle) if (handle->repeat < PRESS_REPEAT_MAX_NUM) { handle->repeat++; } + handle->event = (uint8_t)BTN_PRESS_REPEAT; EVENT_CB(BTN_PRESS_REPEAT); handle->ticks = 0; handle->state = BTN_STATE_REPEAT;