cleanup
This commit is contained in:
parent
27dac76018
commit
578ce4320a
@ -17,7 +17,7 @@ use ether_dream::protocol::{DacBroadcast, DacResponse};
|
|||||||
|
|
||||||
#[warn(dead_code)]
|
#[warn(dead_code)]
|
||||||
pub struct EtherdreamDevice {
|
pub struct EtherdreamDevice {
|
||||||
pub conf: EtherDreamConf,
|
conf: EtherDreamConf,
|
||||||
dac: DacBroadcast,
|
dac: DacBroadcast,
|
||||||
stream: Stream,
|
stream: Stream,
|
||||||
|
|
||||||
@ -188,7 +188,11 @@ impl Device for EtherdreamDevice {
|
|||||||
}
|
}
|
||||||
i += 1;
|
i += 1;
|
||||||
}
|
}
|
||||||
if i > 0 {
|
if i > 1 {
|
||||||
|
info!(
|
||||||
|
"Cool_down adjusted from {:?} to {:?}",
|
||||||
|
self.cool_down, cool_down
|
||||||
|
);
|
||||||
self.cool_down = cool_down;
|
self.cool_down = cool_down;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user