Skip to main content

pamoja_scd4x_free

Function pamoja_scd4x_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_scd4x_free(sensor: *mut PamojaScd4x)
Expand description

Releases a driver and its share of the bus. A null pointer is ignored.

ยงSafety

sensor must be a handle from pamoja_scd4x_new that has not been freed, or null.