mirror of https://github.com/4yn/slidershim
flush diva slider after send
parent
47b90603e2
commit
358b53c0be
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue