Return a data buffer that was retrieved
#include <sensor/sensor_api.h>
sensor_error_t sensor_return_buffer(sensor_handle_t handle, sensor_buffer_t *buffer)
This is required for any buffers acquired through a call to sensor_get_buffer(). It is also required for data callbacks for which false was returned to release the buffer later.
SENSOR_EOK when the function successfully completes, otherwise another sensor_error_t value that provides the reason that the call failed.