1
0
mirror of https://github.com/4yn/slidershim.git synced 2024-09-23 18:58:27 +02:00

flush diva slider after send

This commit is contained in:
4yn 2022-02-24 10:36:03 +08:00
parent 47b90603e2
commit 358b53c0be

View File

@ -342,6 +342,7 @@ impl ThreadJob for DivaSliderJob {
if bytes_written == 0 {
warn!("Serial write timeout");
}
serial_port.flush();
// debug!("Serial write {}/{}", bytes_written, data.len());
}