fix all compiler warnings
This commit is contained in:
@@ -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>>,
|
||||
|
Reference in New Issue
Block a user