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

bugfix: add missing pinmode initialization in hal_interrupt_init() #396

Merged
merged 1 commit into from
Sep 1, 2019
Merged

Conversation

cyberman54
Copy link

@cyberman54 cyberman54 commented Aug 31, 2019

Pinmode initialization is missing in hal_interrupt_init() for the interrupt driven timestamping mode.
Without pinmode initialization the interrupt driven timestamping mode does not work (tested on ESP32 hardware). Added just this one extra line and heureka it worked! :-)

Pinmode initialization is missing in hal_interrupt_init().
Without the interrupt driven timestamping mode does not work (tested on ESP32 hardware).
Added just this one extra line and it worked! :-)
@terrillmoore terrillmoore self-assigned this Sep 1, 2019
@terrillmoore
Copy link
Member

Sure. I currently have no test case for interrupt driven, so no surprise that this was missed. I suspect that on AVR32, the only other place I've heard of this being used, the pin mode is INPUT by default. I suppose I should get a few ESP32s for the device zoo -- open to recommendations. And should consider doing this on the Murata modules. But so close to completing the pre-cert stuff that I don't want to get distracted.

@cyberman54
Copy link
Author

Thanks for merging.
There a lots of ESP32 dev boards on the market. If found many chinese boards have bugs, often in RF path. I prefer LoPy4 by Pycom. Comes with good documentation, CE and FCC certified, and available as OEM module, too.

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

Successfully merging this pull request may close these issues.

2 participants