Skip to main content

pamoja_thermostat_is_on

Function pamoja_thermostat_is_on 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_thermostat_is_on( thermostat: *const PamojaThermostat, ) -> bool
Expand description

Reports a thermostat’s current output without feeding it a reading.

§Returns

true while the load should run, or false if thermostat is null.

§Safety

thermostat must be a live handle from a thermostat constructor, or null.