Skip to content

Commit 7510c39

Browse files
committed
Add TODO for gpio runtime pin improvement
1 parent e6973f3 commit 7510c39

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gpio.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ impl private::Gpio for Gpiox {
210210
impl marker::Gpio for Gpiox {}
211211

212212
/// Runtime defined pin number (type state)
213+
// TODO(Sh3Rm4n): If the pin number wouldn't be runtime defined, the implementation for all
214+
// statically defined pins would be much easier (and withless overhead). What could be the
215+
// solution?
213216
pub struct Ux(u8);
214217

215218
impl marker::Index for Ux {

0 commit comments

Comments
 (0)