added dynamic discovery of configurations
This commit is contained in:
@@ -20,14 +20,14 @@ pub struct GenericLinuxSal {
|
||||
}
|
||||
|
||||
impl GenericLinuxSal {
|
||||
pub fn new(fact_sheet: SystemFactSheet, db: HardwareDb) -> Self {
|
||||
pub fn new(facts: SystemFactSheet, db: HardwareDb) -> Self {
|
||||
Self {
|
||||
fact_sheet,
|
||||
db,
|
||||
suppressed_services: Mutex::new(Vec::new()),
|
||||
last_valid_temp: Mutex::new((0.0, Instant::now())),
|
||||
current_pl1: Mutex::new(15.0),
|
||||
last_energy: Mutex::new((0, Instant::now())),
|
||||
fact_sheet: facts,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user