flipperzero-rs / flipperzero

Rust on the Flipper Zero
MIT License
521 stars 35 forks source link

Fix gpio read always returning true #90

Closed agarof closed 1 year ago

agarof commented 1 year ago

Also make register manipulations volatile as the original furi hal functions are. Updated the GPIO example to verify that the actual state was being returned.

dcoles commented 1 year ago

Hi @agarof. Thanks for the PR!

Will merge that in right now.