kellerkindt / onewire

OneWire bus implementation in Rust using embedded-hal
Apache License 2.0
35 stars 14 forks source link

lib: Remove duplicate select in reset_select_{write,read}_only #16

Open asdfuser opened 1 year ago

asdfuser commented 1 year ago

Using these functions would send the select rom command as data after the actual select rom command corrupting any actual data that was supposed to be read/written.

andresv commented 3 months ago

I can confirm that without this fix DS18B20 always returns 85 instead of correct temperature.