reduce amount of warnings

This commit is contained in:
2025-09-11 20:17:18 +02:00
parent 4fa1a05fc3
commit 4faae86a6b
5 changed files with 9 additions and 19 deletions

View File

@@ -93,14 +93,6 @@ pub struct PumpResult {
pump_time_s: u16,
}
#[derive(Serialize, Deserialize, Debug, PartialEq)]
/// humidity sensor error
enum SensorError {
Unknown,
ShortCircuit { hz: f32, max: f32 },
OpenCircuit { hz: f32, min: f32 },
}
#[derive(Serialize, Debug, PartialEq)]
enum SntpMode {
OFFLINE,
@@ -867,7 +859,7 @@ fn pump_info(
median_current_ma: u16,
max_current_ma: u16,
min_current_ma: u16,
error: bool,
_error: bool,
) {
let pump_info = PumpInfo {
enabled: pump_active,