Skip to content

Conversation

soburi
Copy link
Member

@soburi soburi commented Aug 23, 2025

If gpio is not initialized, the pulseIn function will terminate
without running the timer.

soburi added 2 commits August 23, 2025 11:14
Since the general Arduino implementation does not check the GPIO
direction, this check has been removed to improve compatibility.

Signed-off-by: TOKITA Hiroshi <[email protected]>
If gpio is not initialized, the pulseIn function will terminate
without running the timer.

Signed-off-by: TOKITA Hiroshi <[email protected]>
@soburi soburi changed the title zephyrCommon: Immediately terminate pulseIn if gpio not ready [DNM] zephyrCommon: Immediately terminate pulseIn if gpio not ready Aug 23, 2025
@soburi soburi requested a review from DhruvaG2000 August 23, 2025 06:36
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.

1 participant