diff rust/src/sensor.rs @ 609:7bda01659426 rust

not building, paramwaiter work
author Matt Johnston <matt@ucc.asn.au>
date Sat, 18 Feb 2017 00:21:10 +0800
parents 8dd63473b6d8
children f3e39e2107fd
line wrap: on
line diff
--- a/rust/src/sensor.rs	Fri Feb 17 23:07:33 2017 +0800
+++ b/rust/src/sensor.rs	Sat Feb 18 00:21:10 2017 +0800
@@ -72,6 +72,7 @@
     }
 
     fn sensor_names(&self) -> Result<Vec<String>, Box<Error>> {
+        // TODO: needs to handle multiple busses.
         let mut path = PathBuf::from(&self.config.SENSOR_BASE_DIR);
         path.push("w1_master_slaves");