Reduce boot time and bp time
This commit is contained in:
parent
b0dad705bc
commit
b351228df4
1 changed files with 2 additions and 2 deletions
|
@ -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: ";
|
||||||
|
|
Loading…
Add table
Reference in a new issue