Add TODO
This commit is contained in:
parent
221ab355d5
commit
cb64502a02
|
@ -77,6 +77,9 @@ impl Printer {
|
|||
}
|
||||
|
||||
pub async fn connect(port_path: &str) -> Result<Self, PrinterError> {
|
||||
// TODO: implement auto position reporting.
|
||||
// For this the whole reply-response control flow won't really work anymore, since the
|
||||
// replies will just be interlaced with position reports.
|
||||
let mut port = tokio_serial::new(port_path, 115200)
|
||||
.open_native_async()
|
||||
.expect("Unable to open serial port");
|
||||
|
|
Loading…
Reference in a new issue