Reduce boot time and bp time
All checks were successful
Basic Cargo Checks / docker-build (push) Successful in 56s
Basic Cargo Checks / docker-check (push) Successful in 11m49s

This commit is contained in:
Blizzard Finnegan 2023-06-12 12:58:23 -04:00
parent b0dad705bc
commit b351228df4
Signed by: blizzardfinnegan
GPG key ID: 61C1E13067E0018E

View file

@ -2,8 +2,8 @@ use std::{fs::{self, File}, path::Path, io::Write, thread, time::Duration};
use crate::tty::{TTY, Response,Command}; use crate::tty::{TTY, Response,Command};
use rppal::gpio::{Gpio,OutputPin}; use rppal::gpio::{Gpio,OutputPin};
const BOOT_TIME:Duration = Duration::new(60, 0); const BOOT_TIME:Duration = Duration::new(40, 0);
const BP_RUN:Duration = Duration::new(75, 0); const BP_RUN:Duration = Duration::new(55, 0);
const REBOOTS_SECTION: &str = "Reboots: "; const REBOOTS_SECTION: &str = "Reboots: ";
const BP_SECTION: &str = "Successful BP tests: "; const BP_SECTION: &str = "Successful BP tests: ";
const TEMP_SECTION: &str = "Successful temp tests: "; const TEMP_SECTION: &str = "Successful temp tests: ";