Improve command response reading
This commit is contained in:
parent
7554b95fff
commit
c44ce1dcb3
@ -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> {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user