rust-embedded / rust-sysfs-pwm

Linux PWM Access via Sysfs in Rust
Apache License 2.0
47 stars 16 forks source link

Check state of enable #4

Closed kofron closed 5 years ago

kofron commented 7 years ago

Thanks for the work @posborne!

In the current implementation enable is write-only. This adds a simple getter for checking the state of enable.

posborne commented 5 years ago

Sorry this got stale. I'm alright with this change and pulling into tree. With other churn we'll probably be looking at a 0.2 release sometime soon.