[][src]Function mynewt::hw::sensor::bindings::sensor_mgr_match_bytype

pub unsafe extern "C" fn sensor_mgr_match_bytype(
    sensor: *mut sensor,
    arg1: *mut c_void
) -> c_int

Check if sensor type matches

Return: 1 if matches, 0 if it doesn't match.