Commit Graph

2 Commits

Author SHA1 Message Date
Stefan Gehr
35532b1eb7 Simplifications and fixes for edge cases
monitor.rs: Removed hardcoded pwm-range of 0 to 255 and instead
correctly interpolate between pwm_min() and pwm_max()
main.rs: Simpler comparison to check whether temperature changed since
last time
hw_mon.rs: Removed unnecessary conversions between u32 and u64
2021-08-02 00:02:03 +02:00
Adrian Woźniak
365c58ff37
Move errors to own file. Move monitor to own file. 2021-07-31 22:40:57 +02:00