- if it is a default attribute in switch-case statement, break and call
set_attribute_int() function.
Change-Id: I1bf0403ad268a8465190439acd9c1ebe320cda2c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
case SENSORD_ATTRIBUTE_AXIS_ORIENTATION:
return change_axis_orientation(handle, value);
default:
- return change_attribute_int(handle, attribute, value);
+ break;
}
- return OP_SUCCESS;
+ return change_attribute_int(handle, attribute, value);
}
API int sensord_set_attribute_str(int handle, int attribute, const char *value, int value_len)