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 neorv32_gpio_port_get() #223

Merged
merged 1 commit into from
Nov 29, 2021

Conversation

hipolitoguzman
Copy link
Contributor

This function should read from:

  • NEORV32_GPIO.INPUT_LO and NEORV32_GPIO.INPUT_HI

But previously it was reading from:

  • NEORV32_GPIO.OUTPUT_LO and NEORV32_GPIO.OUTPUT_HI

So it wasn't working correctly. The function neorv32_pin_get() was
reading the correct values (from INPUT instead of OUTPUT) and thus it
was working correctly.

This function should read from:
 - NEORV32_GPIO.INPUT_LO and NEORV32_GPIO.INPUT_HI

But previously it was reading from:
 - NEORV32_GPIO.OUTPUT_LO and NEORV32_GPIO.OUTPUT_HI

So it wasn't working correctly. The function neorv32_pin_get() was
reading the correct values (from INPUT instead of OUTPUT) and thus it
was working correctly.
@stnolting
Copy link
Owner

Thanks for fixing!

@stnolting stnolting added bug Something isn't working SW software-related labels Nov 29, 2021
@stnolting stnolting merged commit d472649 into stnolting:master Nov 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working SW software-related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants