Skip to content

Commit 16840c2

Browse files
committed
fix: fmt
1 parent 624fee3 commit 16840c2

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/buttons.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use crate::{
22
stackmat::CURRENT_TIME,
3-
state::{current_epoch, deeper_sleep_state, sleep_state, GlobalState, Scene},
3+
state::{GlobalState, Scene, current_epoch, deeper_sleep_state, sleep_state},
44
structs::DelegateResponsePacket,
55
utils::buttons::{Button, ButtonTrigger, ButtonsHandler},
66
};

src/lcd.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ use crate::{
1111
DEEPER_SLEEP_AFTER_MS, INSPECTION_TIME_PLUS2, LCD_INSPECTION_FRAME_TIME,
1212
SCROLL_TICKER_INVERVAL_MS, SLEEP_AFTER_MS,
1313
},
14-
state::{deeper_sleep_state, sleep_state, GlobalState, Scene, SignaledGlobalStateInner},
15-
translations::{get_translation, get_translation_params, TranslationKey},
14+
state::{GlobalState, Scene, SignaledGlobalStateInner, deeper_sleep_state, sleep_state},
15+
translations::{TranslationKey, get_translation, get_translation_params},
1616
utils::{
1717
lcd_abstract::{LcdAbstract, PrintAlign},
1818
stackmat::ms_to_time_str,

src/mdns.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
use embassy_net::{
2-
udp::{PacketMetadata, UdpSocket},
32
IpAddress, IpEndpoint, Stack,
3+
udp::{PacketMetadata, UdpSocket},
44
};
55
use embassy_time::{Duration, Timer};
66
use esp_hal_mdns::MdnsQuery;

src/utils/buttons.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use crate::{
22
buttons::HandlersDerive,
33
consts::BUTTON_DEBOUNCE_TIME,
4-
state::{sleep_state, GlobalState},
4+
state::{GlobalState, sleep_state},
55
};
66
use alloc::vec::Vec;
77
use embassy_time::{Instant, Timer};

src/ws.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
use crate::{
22
consts::WS_RETRY_MS,
3-
state::{ota_state, GlobalState, Scene},
3+
state::{GlobalState, Scene, ota_state},
44
structs::{ApiError, FromPacket, TimerPacket, TimerPacketInner},
55
};
66
use alloc::{rc::Rc, string::ToString};
77
use core::str::FromStr;
8-
use embassy_net::{tcp::TcpSocket, IpAddress, Stack};
8+
use embassy_net::{IpAddress, Stack, tcp::TcpSocket};
99
use embassy_sync::{
1010
blocking_mutex::raw::CriticalSectionRawMutex, channel::Channel, pubsub::PubSubChannel,
1111
signal::Signal,

0 commit comments

Comments
 (0)