sensor: fix the bug in the proximity sensor hal 13/157413/2 tizen
authorkibak.yoon <kibak.yoon@samsung.com>
Tue, 24 Oct 2017 10:43:55 +0000 (19:43 +0900)
committerKibak Yoon <kibak.yoon@samsung.com>
Tue, 24 Oct 2017 15:35:57 +0000 (15:35 +0000)
Change-Id: I6cb2bf56ff54c3e38449a5dbc3583f0af50d9947
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
src/proximity/proximity_device.cpp

index 20bde75..92d0204 100644 (file)
@@ -134,7 +134,7 @@ int proximity_device::get_data(uint32_t id, sensor_data_t **data, int *length)
        *data = sensor_data;
        *length = sizeof(sensor_data_t);
 
-       return 1;
+       return 0;
 }
 
 bool proximity_device::flush(uint32_t id)