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

按键处理数量限制 #5

Closed
BOBBOM opened this issue Apr 24, 2019 · 1 comment
Closed

按键处理数量限制 #5

BOBBOM opened this issue Apr 24, 2019 · 1 comment

Comments

@BOBBOM
Copy link

BOBBOM commented Apr 24, 2019

static unsigned char trg = 0;
static unsigned char cont = 0;
static uint8_t keydata = 0xFF;
static uint8_t key_rst_data = 0xFF;
static uint8_t button_cnt = 0;

目前这些标记量都是uint8_t类型的,也就是最多支持8个按键,超过8个就会有问题,里面一些局部变量的类型也需要修改

@murphyzhao
Copy link
Owner

感谢 @BOBBOM#6 中对该问题的解决 👍

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

2 participants