Fix typos

This commit is contained in:
linuswck 2024-03-04 10:32:33 +08:00
parent 4526536a48
commit 3aca712e1d
2 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ impl ServerHandle {
let mut iface = Interface::new(config, &mut &mut dma, smoltcp::time::Instant::ZERO);
iface.set_hardware_addr(EthernetAddress(mac_addr).into());
debug!("MAC ADDRESS: {:02X?}", EthernetAddress(mac_addr));
debug!("IP: {:?}", IP_INIT);
iface.update_ip_addrs(|addr| {
addr.push(IP_INIT).unwrap();
});

View File

@ -206,7 +206,7 @@ impl Thermostat{
self.max1968.power_down();
self.pid_ctrl_ch0.reset_pid_state();
self.set_i(ElectricCurrent::new::<ampere>(0.0));
self.tec_settings.pwr_on = true;
self.tec_settings.pwr_on = false;
}
fn set_center_pt(&mut self, value: ElectricPotential){