Align debug prints

Previously, debug!() prints of speaker name, temperatures, power and
gain were jumping from left to right, now they are aligned.

Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
This commit is contained in:
Ivan Bushchik 2023-12-23 16:00:05 +03:00
parent 8ff0db2e96
commit 431b49c307
No known key found for this signature in database
GPG key ID: 2F16FBF3262E090C

View file

@ -396,7 +396,7 @@ impl Speaker {
}
debug!(
"{}: Coil {:.2} °C Magnet {:.2} °C Power {:.2} W Gain {:.2} dB",
"{:>15}: Coil {:>6.2} °C Magnet {:>6.2} °C Power {:>5.2} W Gain {:>6.2} dB",
self.name, s.t_coil, s.t_magnet, pwr_avg, s.gain
);