enable deepsleep and gpio1 + timer wake
This commit is contained in:
@@ -111,7 +111,7 @@ impl LogArray {
|
||||
limit_length(txt_short, &mut txt_short_stack);
|
||||
limit_length(txt_long, &mut txt_long_stack);
|
||||
|
||||
let time = TIME_ACCESS.get().await.current_time_us() / 1000;
|
||||
let time = { let guard = TIME_ACCESS.get().await.lock().await; guard.current_time_us() } / 1000;
|
||||
|
||||
let ordinal = message_key.ordinal() as u16;
|
||||
let template: &str = message_key.into();
|
||||
|
||||
Reference in New Issue
Block a user