#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_scd4x_set_temperature_offset(
sensor: *mut PamojaScd4x,
milli_celsius: u32,
) -> PamojaStatusExpand description
Sets the temperature offset that compensates the part’s own warmth, stopping periodic measurement to write it and starting it again. The setting lasts until power is lost.
§Arguments
sensor- the driver.milli_celsius- the offset to subtract, in millidegrees.
§Returns
§Safety
sensor must be a live handle or null.