Updated: October 28, 2024 |
Discontinue using a logical sensor on the device
#include <sensor/sensor_api.h>
sensor_error_t sensor_close(sensor_handle_t handle)
Call this function to discontinue using a logical sensor unit. Any internal resources associated with this previously opened sensor unit are freed.
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.