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

fix build in Arduino IDE #21

Closed
wants to merge 2 commits into from
Closed

Conversation

tlyu
Copy link

@tlyu tlyu commented May 31, 2022

Adjust includes so it builds in the Arduino IDE.

Based on #20.

tlyu added 2 commits May 29, 2022 20:34
Respond immediately when we get a STOP or repeated START while
still selected. Otherwise, a START condition immediately
preceded by a STOP could be missed.

This probably will result in more clock stretching, but the
ATmega firmware doesn't seem to handle retries, so it probably
implicitly depends on the keyscanner doing clock stretching anyway.

Anyway, the ATmega firmware seems to only issue STOPs when reading,
so it's probably not too important in practice. (I only noticed when
trying to do back-to-back LED commands that ended in STOPs.)

Signed-off-by: Taylor Yu <[email protected]>
Adjust includes so it builds in the Arduino IDE.

Signed-off-by: Taylor Yu <[email protected]>
@obra
Copy link
Member

obra commented May 31, 2022

Cherry-picked as 7587d55

@obra obra closed this May 31, 2022
@tlyu tlyu deleted the flasher-build branch July 27, 2022 01:09
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

Successfully merging this pull request may close these issues.

2 participants