fix all compiler warnings

This commit is contained in:
2025-06-20 20:36:29 +02:00
parent c1d0ce542c
commit 7115809f2b
9 changed files with 84 additions and 88 deletions

View File

@@ -1,8 +1,12 @@
//offer ota and config mode
use crate::hal::battery::BatteryInteraction;
use crate::{
determine_tank_state, get_version, log::LogMessage, plant_state::PlantState, BOARD_ACCESS,
config::PlantControllerConfig,
determine_tank_state, get_version,
hal::PLANT_COUNT,
log::LogMessage,
plant_state::{MoistureSensorState, PlantState},
BOARD_ACCESS,
};
use anyhow::bail;
use chrono::DateTime;
@@ -19,10 +23,6 @@ use std::{
};
use url::Url;
use crate::config::PlantControllerConfig;
use crate::hal::{BoardInteraction, PLANT_COUNT};
use crate::plant_state::MoistureSensorState;
#[derive(Serialize, Debug)]
struct SSIDList<'a> {
ssids: Vec<&'a String<32>>,