Skip to content

Enable pulseIn() #140

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

Merged
merged 2 commits into from
Jan 20, 2017
Merged

Enable pulseIn() #140

merged 2 commits into from
Jan 20, 2017

Conversation

sorscode
Copy link
Contributor

quick edit to make pulseIn() work.

enable pulseIn()
if (xthal_get_ccount() - start_cycle_count > timeout_cycles) { \
return 0; \
} \
optimistic_yield(5000); \
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optimistic_yield no longer needed

@me-no-dev
Copy link
Member

did you test this?

@sorscode
Copy link
Contributor Author

Yes, I have it running on my desk right now. I can remove the optimistic_yield.

@sorscode
Copy link
Contributor Author

Okay, my latest commit, has removed the optimistic_yield

@me-no-dev me-no-dev merged commit 13f3ac5 into espressif:master Jan 20, 2017
brentru added a commit to adafruit/arduino-esp32 that referenced this pull request Oct 22, 2024
Add platform Adafruit Feather ESP32-S3 TFT
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