clippy: fix clippy warnings

This commit is contained in:
2026-05-25 20:11:58 +02:00
parent 7078af5713
commit 7679fa09dc
11 changed files with 48 additions and 58 deletions

View File

@@ -1,6 +1,5 @@
use crate::hal::Moistures;
use crate::{config::PlantConfig, hal::HAL, in_time_range};
use alloc::string::String;
use chrono::{DateTime, TimeDelta, Utc};
use chrono_tz::Tz;
use serde::{Deserialize, Serialize};
@@ -14,8 +13,7 @@ pub enum MoistureSensorError {
MissingMessage,
NotExpectedMessage { hz: f32 },
ShortCircuit { hz: f32, max: f32 },
OpenLoop { hz: f32, min: f32 },
BoardError { message: String },
OpenLoop { hz: f32, min: f32 }
}
#[derive(Debug, PartialEq, Serialize)]