Skip to main content

pamoja_sht3x_heater_on

Function pamoja_sht3x_heater_on 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_sht3x_heater_on( sensor: *mut PamojaSht3x, ) -> PamojaStatus
Expand description

Switches the plausibility-check heater on, initializing the part first if needed, since the reset in initialization switches it off.

§Arguments

  • sensor - the driver.

§Returns

As pamoja_sht3x_init.

§Safety

sensor must be a live handle or null.