fn switch_on_ventilation(
mutex_device_scheduler_ventilation: &Arc<Mutex<i32>>,
mutex_blocked_during_actuation: &mut bool,
ventilation_channels: &mut VentilationChannels,
)Expand description
The function commands the relay manager to switch on the ventilation device.
This function is a specific wrapper around actuate_ventilation that sends the SwitchOn command.
ยงArguments
mutex_device_scheduler_ventilation- A reference to anArc<Mutex<i32>>used for coordinating device actuation.mutex_blocked_during_actuation- A mutable boolean flag that is set if theventilation_channels- A mutable reference to the struct containing the channels. Actuation mutex was found to be blocked.