remove: delete initial_hal implementation, update moisture sensor logic to handle optional raw values, optimize TWAI management, and improve CAN data handling

This commit is contained in:
2026-02-01 03:57:36 +01:00
parent ce10d084f8
commit e6f8e34f7d
7 changed files with 86 additions and 246 deletions

View File

@@ -162,7 +162,7 @@ impl Esp<'_> {
loop {
match self.uart0.read_buffered(&mut buf) {
Ok(read) => {
if (read == 0) {
if read == 0 {
return Ok(None);
}
let c = buf[0] as char;