v2.3.0 #5

Merged
blizzardfinnegan merged 13 commits from devel into stable 2023-06-19 15:34:18 -04:00
Showing only changes of commit d522fac9b8 - Show all commits

View file

@ -56,6 +56,16 @@ fn main(){
log::debug!("Debug enabled!");
}
loop{
let mut iteration_count:u64 = 0;
if args.debug {
iteration_count = 10000;
}
else {
while iteration_count < 1{
iteration_count = int_input_filtering(Some("Enter the number of iterations to complete: "));
}
}
let gpio = &mut GpioPins::new();
match std::fs::read_dir("/dev/serial/by-path"){
Ok(available_ttys)=>{
@ -128,16 +138,6 @@ fn main(){
}
}
let mut iteration_count:u64 = 0;
if args.debug {
iteration_count = 10000;
}
else {
while iteration_count < 1{
iteration_count = int_input_filtering(Some("Enter the number of iterations to complete: "));
}
}
let mut iteration_threads = Vec::new();
while let Some(mut device) = devices.pop(){
iteration_threads.push(thread::spawn(move||{