Add init logging in debug mode
All checks were successful
Basic Cargo Checks / docker-check (push) Successful in 31s
Basic Cargo Checks / docker-build (push) Successful in 30s

Added log call for init of devices. The whole point of debug mode is
to get more info, so not saying what you're doing isn't super helpful.
This commit is contained in:
Blizzard Finnegan 2023-06-09 10:54:08 -04:00
parent 3cc2f05b82
commit a235a84dad
Signed by: blizzardfinnegan
GPG key ID: 61C1E13067E0018E

View file

@ -118,6 +118,7 @@ fn main(){
device.brighten_screen();
if args.debug{
let location = device.get_location();
log::info!("Init device {}...", location);
device.set_serial(&location);
}
else{