started cleanup and moving from std to no_std

This commit is contained in:
2025-09-11 22:47:11 +02:00
parent f853b6f2b2
commit 242e748ca0
15 changed files with 199 additions and 197 deletions

View File

@@ -1,3 +1,4 @@
use alloc::string::ToString;
use serde::Serialize;
use std::{collections::HashMap, sync::Mutex};
use strum::EnumIter;
@@ -92,7 +93,7 @@ pub fn log(message_key: LogMessage, number_a: u32, number_b: u32, txt_short: &st
let template = Template::from(template_string);
let serial_entry = template.fill_in(&values);
println!("{serial_entry}");
log::info!("{serial_entry}");
//TODO push to mqtt?
let entry = LogEntry {