diff --git a/src/device/etherdream.rs b/src/device/etherdream.rs index c5ac849..a09742f 100644 --- a/src/device/etherdream.rs +++ b/src/device/etherdream.rs @@ -17,7 +17,7 @@ use ether_dream::protocol::{DacBroadcast, DacResponse}; #[warn(dead_code)] pub struct EtherdreamDevice { - pub conf: EtherDreamConf, + conf: EtherDreamConf, dac: DacBroadcast, stream: Stream, @@ -188,7 +188,11 @@ impl Device for EtherdreamDevice { } i += 1; } - if i > 0 { + if i > 1 { + info!( + "Cool_down adjusted from {:?} to {:?}", + self.cool_down, cool_down + ); self.cool_down = cool_down; }