From 39022b52f508da12aa2c34814ad52db0574c15c0 Mon Sep 17 00:00:00 2001 From: Z_Tam <2403626628@qq.com> Date: Wed, 17 Aug 2022 20:06:13 +0800 Subject: [PATCH] Update multi_button.h fix warming --- multi_button.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/multi_button.h b/multi_button.h index b066ade..c468458 100644 --- a/multi_button.h +++ b/multi_button.h @@ -48,7 +48,7 @@ typedef struct Button { extern "C" { #endif -void button_init(struct Button* handle, uint8_t(*pin_level)(), uint8_t active_level, uint8_t button_id); +void button_init(struct Button* handle, uint8_t(*pin_level)(uint8_t), uint8_t active_level, uint8_t button_id); void button_attach(struct Button* handle, PressEvent event, BtnCallback cb); PressEvent get_button_event(struct Button* handle); int button_start(struct Button* handle);