From b351228df417230888a356686192d50f00d78951 Mon Sep 17 00:00:00 2001 From: Blizzard Finnegan Date: Mon, 12 Jun 2023 12:58:23 -0400 Subject: [PATCH] Reduce boot time and bp time --- src/device.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/device.rs b/src/device.rs index af38512..523bd6d 100755 --- a/src/device.rs +++ b/src/device.rs @@ -2,8 +2,8 @@ use std::{fs::{self, File}, path::Path, io::Write, thread, time::Duration}; use crate::tty::{TTY, Response,Command}; use rppal::gpio::{Gpio,OutputPin}; -const BOOT_TIME:Duration = Duration::new(60, 0); -const BP_RUN:Duration = Duration::new(75, 0); +const BOOT_TIME:Duration = Duration::new(40, 0); +const BP_RUN:Duration = Duration::new(55, 0); const REBOOTS_SECTION: &str = "Reboots: "; const BP_SECTION: &str = "Successful BP tests: "; const TEMP_SECTION: &str = "Successful temp tests: ";