Skip to content

Commit 3395947

Browse files
committed
increased pulling rate
1 parent 3cd21c6 commit 3395947

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ fn main_thread(data_lock: Arc<RwLock<DataContainer>>,
157157
if let Ok(mut write_guard) = data_lock.write() {
158158
*write_guard = data.clone();
159159
}
160-
std::thread::sleep(Duration::from_millis(10));
160+
// std::thread::sleep(Duration::from_millis(10));
161161
}
162162
}
163163

src/serial.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ pub fn serial_thread(gui_settings: GuiSettingsContainer,
189189
}
190190
}
191191

192-
std::thread::sleep(Duration::from_millis(10));
192+
//std::thread::sleep(Duration::from_millis(10));
193193
}
194194
std::mem::drop(port);
195195
}

0 commit comments

Comments
 (0)