Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

button_init函数输入的函数指针少了形参会编译警告 #27

Open
juzhango opened this issue Apr 12, 2022 · 2 comments
Open

button_init函数输入的函数指针少了形参会编译警告 #27

juzhango opened this issue Apr 12, 2022 · 2 comments

Comments

@juzhango
Copy link

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)

@Roomen
Copy link

Roomen commented May 6, 2022

+1, 我也觉得这里要加入这个参数

@cctv180
Copy link

cctv180 commented May 20, 2022

+1,我也觉得这里要加入这个参数
哈哈,我自己改的有,demo还有个判断键值的宏
#21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants