Improve command response reading

This commit is contained in:
Sofia 2026-05-30 17:11:46 +03:00
parent 7554b95fff
commit c44ce1dcb3

View File

@ -88,7 +88,7 @@ impl<'a, 'd> ATCommands<'a, 'd> {
} }
self.uart.flush().unwrap(); self.uart.flush().unwrap();
self.read_response(format!("> {}", text)) self.read_response(command)
} }
pub fn readline(&mut self) -> Option<String> { pub fn readline(&mut self) -> Option<String> {