Skip to content

Commit

Permalink
remove debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
4yn committed Feb 22, 2022
1 parent 7178e61 commit dd98fe5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src-slider_io/src/device/diva.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use log::{debug, error, info, warn};
use log::{error, info, warn};
use std::{
collections::VecDeque,
time::{Duration, Instant},
Expand Down Expand Up @@ -245,7 +245,7 @@ impl ThreadJob for DivaSliderJob {
self.read_buf.clear();
let read_amount = serial_port.read(&mut self.read_buf) as usize;
if read_amount > 0 {
debug!("Serial read {} bytes", read_amount);
// debug!("Serial read {} bytes", read_amount);
self
.deserializer
.deserialize(&self.read_buf[0..read_amount], &mut self.in_packets);
Expand Down Expand Up @@ -342,7 +342,7 @@ impl ThreadJob for DivaSliderJob {
if bytes_written == 0 {
warn!("Serial write timeout");
}
debug!("Serial write {}/{}", bytes_written, data.len());
// debug!("Serial write {}/{}", bytes_written, data.len());
}

// sleep(Duration::from_millis(3));
Expand Down

0 comments on commit dd98fe5

Please sign in to comment.