[−][src]Function mynewt::hw::sensor::sensor_unregister_notifier
pub unsafe extern "C" fn sensor_unregister_notifier(
sensor: *mut sensor,
notifier: *mut sensor_notifier
) -> c_int
Un-register a sensor notifier. This allows a calling application to stop receiving callbacks for events on the sensor object.
sensor
: The sensor object to un-register the notifier onnotifier
: The notifier to remove from the notification list
Return: 0 on success, non-zero error code on failure.