Compare commits
2 commits
5b58040975
...
23fd3babfc
Author | SHA1 | Date | |
---|---|---|---|
![]() |
23fd3babfc | ||
![]() |
9a5a1d219f |
2 changed files with 2 additions and 2 deletions
|
@ -33,7 +33,7 @@ fn main() -> Result<()> {
|
||||||
ntp: _ntp,
|
ntp: _ntp,
|
||||||
mut switch_driver,
|
mut switch_driver,
|
||||||
wifi: _wifi,
|
wifi: _wifi,
|
||||||
} = *setup()?;
|
} = setup()?;
|
||||||
|
|
||||||
let t_on = NaiveTime::parse_from_str(config::T_ON, "%H:%M")?;
|
let t_on = NaiveTime::parse_from_str(config::T_ON, "%H:%M")?;
|
||||||
let t_off = NaiveTime::parse_from_str(config::T_OFF, "%H:%M")?;
|
let t_off = NaiveTime::parse_from_str(config::T_OFF, "%H:%M")?;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
use esp_idf_svc::{
|
use esp_idf_svc::{
|
||||||
hal::delay::FreeRtos,
|
hal::delay::FreRtos,
|
||||||
sntp::{EspSntp, SyncStatus},
|
sntp::{EspSntp, SyncStatus},
|
||||||
};
|
};
|
||||||
use log::info;
|
use log::info;
|
||||||
|
|
Loading…
Add table
Reference in a new issue