1
0
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:
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 { 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());
} }