docs
This commit is contained in:
@@ -58,6 +58,7 @@ impl PacketTransportSerialCobs {
|
||||
let encoded = cobs::encode_vec_including_sentinels(packet);
|
||||
log::debug!("sending COBS encoded packet: {:?}", encoded);
|
||||
self.serial.write_all(&encoded)?;
|
||||
// This is required to avoid timeout errors on bursty data.
|
||||
self.serial.flush()?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user