From d8f8d0c6004ec5cf821c891a19b5d8fb690aaa17 Mon Sep 17 00:00:00 2001 From: Hyotaek Shim Date: Mon, 21 Jun 2021 20:51:21 +0900 Subject: Fix get_attribute interface Change-Id: I22e5145fbb8a11f32a0eba96d9dfbf335cf2e0ba Signed-off-by: Hyotaek Shim --- include/hal-sensor-types.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/hal-sensor-types.h b/include/hal-sensor-types.h index d7b78d1..07d89d3 100644 --- a/include/hal-sensor-types.h +++ b/include/hal-sensor-types.h @@ -574,7 +574,7 @@ class sensor_device { int32_t *value) { return true; } - virtual bool set_attribute_str(uint32_t id, int32_t attribute, char **value, + virtual bool get_attribute_str(uint32_t id, int32_t attribute, char **value, int *len) { return true; } -- cgit v1.2.3