Increase verbosity in initialisation
All checks were successful
Basic Cargo Checks / docker-build (push) Successful in 1m25s
Basic Cargo Checks / docker-check (push) Successful in 3m35s

Also, version number bump
This commit is contained in:
Blizzard Finnegan 2023-06-19 15:18:40 -04:00
parent d522fac9b8
commit b935fdf043
Signed by: blizzardfinnegan
GPG key ID: 61C1E13067E0018E
3 changed files with 5 additions and 4 deletions

2
Cargo.lock generated
View file

@ -639,7 +639,7 @@ dependencies = [
[[package]] [[package]]
name = "seymour_life_rust" name = "seymour_life_rust"
version = "2.2.0" version = "2.3.0"
dependencies = [ dependencies = [
"chrono", "chrono",
"clap", "clap",

View file

@ -2,7 +2,7 @@
[package] [package]
name = "seymour_life_rust" name = "seymour_life_rust"
version = "2.2.0" version = "2.3.0"
edition = "2021" edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View file

@ -15,7 +15,7 @@ struct Args{
debug:bool debug:bool
} }
const VERSION:&str="2.2.0"; const VERSION:&str="2.3.0";
fn int_input_filtering(prompt:Option<&str>) -> u64{ fn int_input_filtering(prompt:Option<&str>) -> u64{
let internal_prompt = prompt.unwrap_or(">>>"); let internal_prompt = prompt.unwrap_or(">>>");
@ -129,10 +129,11 @@ fn main(){
//device.brighten_screen(); //device.brighten_screen();
//device.set_serial(); //device.set_serial();
//device.darken_screen(); //device.darken_screen();
log::info!("Checking probe well of device {}",device.get_serial());
log::debug!("Number of unassigned addresses: {}",gpio.get_unassigned_addresses().len()); log::debug!("Number of unassigned addresses: {}",gpio.get_unassigned_addresses().len());
if !find_gpio(device, gpio){ if !find_gpio(device, gpio){
device.set_pin_address(21); device.set_pin_address(21);
log::error!("Unable to find GPIO for device with bright screen. Please ensure that the probe well is installed properly, and the calibration key is plugged in."); log::error!("Unable to find probe-well for device {}. Please ensure that the probe well is installed properly, and the calibration key is plugged in.",device.get_serial());
device.brighten_screen(); device.brighten_screen();
return; return;
} }