deinit_sensor()

Deinitialize external sensor

Synopsis:

#include <sensor/external_sensor_api.h>
int deinit_sensor(void *handle)

Arguments:

handle
The handle that's returned from calling the open_external_sensor() function.

Library:

libsensor

Description:

Do any required deinitialization of the external sensor.

Returns:

SENSOR_EOK when the function successfully completes; otherwise another sensor_error_t value that provides the reason that the call failed.