canbus debugging

This commit is contained in:
2026-03-15 13:43:36 +01:00
parent 32db326266
commit af27f3b820
3 changed files with 78 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ pub trait BatteryInteraction {
async fn reset(&mut self) -> FatResult<()>;
}
#[derive(Debug, Serialize)]
#[derive(Debug, Serialize, Copy, Clone)]
pub struct BatteryInfo {
pub voltage_milli_volt: u32,
pub average_current_milli_ampere: i32,