We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8499e53 commit 9745318Copy full SHA for 9745318
2 files changed
src/main.rs
@@ -347,7 +347,10 @@ async fn logger_task(global_state: GlobalState) {
347
348
ws::send_packet(structs::TimerPacket {
349
tag: None,
350
- data: structs::TimerPacketInner::Logs { logs: tmp_logs },
+ data: structs::TimerPacketInner::Logs {
351
+ current_time: Some(unsafe { crate::stackmat::CURRENT_TIME }),
352
+ logs: tmp_logs,
353
+ },
354
})
355
.await;
356
}
src/structs.rs
@@ -90,6 +90,7 @@ pub enum TimerPacketInner {
90
auto_setup: bool,
91
},
92
Logs {
93
+ current_time: Option<u64>,
94
logs: Vec<String>,
95
96
Battery {
0 commit comments