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

pub unsafe extern "C" fn sensor_set_thresh(
    devname: *const c_char,
    stt: *mut sensor_type_traits
) -> c_int

Set the thresholds along with the comparison algo for a sensor

Return: 0 on success, non-zero on failure