Fix typos
This commit is contained in:
parent
4526536a48
commit
3aca712e1d
|
@ -124,7 +124,7 @@ impl ServerHandle {
|
||||||
let mut iface = Interface::new(config, &mut &mut dma, smoltcp::time::Instant::ZERO);
|
let mut iface = Interface::new(config, &mut &mut dma, smoltcp::time::Instant::ZERO);
|
||||||
iface.set_hardware_addr(EthernetAddress(mac_addr).into());
|
iface.set_hardware_addr(EthernetAddress(mac_addr).into());
|
||||||
debug!("MAC ADDRESS: {:02X?}", EthernetAddress(mac_addr));
|
debug!("MAC ADDRESS: {:02X?}", EthernetAddress(mac_addr));
|
||||||
|
debug!("IP: {:?}", IP_INIT);
|
||||||
iface.update_ip_addrs(|addr| {
|
iface.update_ip_addrs(|addr| {
|
||||||
addr.push(IP_INIT).unwrap();
|
addr.push(IP_INIT).unwrap();
|
||||||
});
|
});
|
||||||
|
|
|
@ -206,7 +206,7 @@ impl Thermostat{
|
||||||
self.max1968.power_down();
|
self.max1968.power_down();
|
||||||
self.pid_ctrl_ch0.reset_pid_state();
|
self.pid_ctrl_ch0.reset_pid_state();
|
||||||
self.set_i(ElectricCurrent::new::<ampere>(0.0));
|
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){
|
fn set_center_pt(&mut self, value: ElectricPotential){
|
||||||
|
|
Loading…
Reference in New Issue