Add ChecksumError handling to FatError conversion

This commit is contained in:
2026-05-05 00:23:04 +02:00
parent 776db785c4
commit f4e050d413

View File

@@ -319,6 +319,9 @@ impl From<BmsProtocolError> for FatError {
BmsProtocolError::I2cCommunicationError =>FatError::String {
error: "I2C communication error".to_string(),
},
BmsProtocolError::ChecksumError => FatError::String {
error: "BMS checksum error".to_string(),
},
}
}
}