This commit is contained in:
Marc Planard 2024-08-18 22:10:32 +02:00
parent 27dac76018
commit 578ce4320a

View File

@ -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;
}