esp-rs / esp32-hal

A hardware abstraction layer for the esp32 written in Rust.
Apache License 2.0
192 stars 28 forks source link

Added a flag to GPIO input macro, to only implement into_pull_up/down… #9

Closed Gasper closed 4 years ago

Gasper commented 4 years ago

… functions if the pin supports it. The solution seemed to fit the best into already macro-focused file.

Fixes #8

MabezDev commented 4 years ago

Looks good to me! Thank you!