Skip to main content

pamoja_opt3001_free

Function pamoja_opt3001_free 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_opt3001_free( sensor: *mut PamojaOpt3001, )
Expand description

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

ยงSafety

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