[][src]Type Definition mynewt::hw::sensor::bindings::sensor_clear_trigger_thresh_t

type sensor_clear_trigger_thresh_t = Option<unsafe extern "C" fn(sensor: *mut sensor, type_: sensor_type_t) -> c_int>;

Clear the high/low threshold values for a specific sensor for the sensor type.

Return: 0 on success, non-zero error code on failure.