mirror of
https://github.com/4yn/slidershim.git
synced 2025-02-08 15:18:17 +01:00
flush diva slider after send
This commit is contained in:
parent
47b90603e2
commit
358b53c0be
@ -342,6 +342,7 @@ impl ThreadJob for DivaSliderJob {
|
|||||||
if bytes_written == 0 {
|
if bytes_written == 0 {
|
||||||
warn!("Serial write timeout");
|
warn!("Serial write timeout");
|
||||||
}
|
}
|
||||||
|
serial_port.flush();
|
||||||
// debug!("Serial write {}/{}", bytes_written, data.len());
|
// debug!("Serial write {}/{}", bytes_written, data.len());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user