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 pulseIn #1768

Merged
merged 1 commit into from
Mar 30, 2016
Merged

Fix pulseIn #1768

merged 1 commit into from
Mar 30, 2016

Conversation

igrr
Copy link
Member

@igrr igrr commented Mar 13, 2016

#1072
#1149

  • fix return value on timeout
  • add optimistic_yield to allow WiFi/network tasks to run
  • use ccount instead of micros (which causes an integer division on every call)

- fix return value on timeout
- add optimistic_yield to allow WiFi/network tasks to run
- use ccount instead of micros (which causes an integer division on every call)
@mangelajo
Copy link
Contributor

looks good to me.

@igrr igrr merged commit 2e849e3 into master Mar 30, 2016
@igrr igrr deleted the pulsein_fix branch April 13, 2016 12:15
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