Update multi_button.h

fix warming
pull/31/head
Z_Tam 3 years ago committed by GitHub
parent e123d9ddb3
commit 39022b52f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -48,7 +48,7 @@ typedef struct Button {
extern "C" { extern "C" {
#endif #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); void button_attach(struct Button* handle, PressEvent event, BtnCallback cb);
PressEvent get_button_event(struct Button* handle); PressEvent get_button_event(struct Button* handle);
int button_start(struct Button* handle); int button_start(struct Button* handle);

Loading…
Cancel
Save