* @retval -EINVAL Invalid parameter
* @retval -EPERM Operation not permitted
*/
-int sensor_util_set_attribute_int(sensor_type_e type, sensor_attribute_internal_e attr, int value);
+int sensor_util_set_attribute_int(sensor_type_e type, sensor_attribute_e attr, int value);
/**
* @brief Get the attribute to a connected sensor
* @retval -EINVAL Invalid parameter
* @retval -EPERM Operation not permitted
*/
-int sensor_util_get_attribute_int(sensor_type_e type, sensor_attribute_internal_e attr, int *value);
+int sensor_util_get_attribute_int(sensor_type_e type, sensor_attribute_e attr, int *value);
#ifdef __cplusplus
}
#include <sensor.h>
#include <sensor_internal.h>
-int sensor_util_set_attribute_int(sensor_type_e type, sensor_attribute_internal_e attr, int value)
+int sensor_util_set_attribute_int(sensor_type_e type, sensor_attribute_e attr, int value)
{
sensor_t sensor;
int ret = 0;
return 0;
}
-int sensor_util_get_attribute_int(sensor_type_e type, sensor_attribute_internal_e attr, int *value)
+int sensor_util_get_attribute_int(sensor_type_e type, sensor_attribute_e attr, int *value)
{
if (!value)
return -EINVAL;