OSDN Git Service

libsensors: Import OTC sensor HAL for HSB and adapt to Android KK
[android-x86/hardware-intel-libsensors.git] / hsb / BoardConfig.cpp
similarity index 98%
rename from bigcore/libsensors/BoardConfig.cpp
rename to hsb/BoardConfig.cpp
index 881f19c..9b9352b 100644 (file)
@@ -51,7 +51,7 @@ int BoardConfig::sensorListSize()
     int num_files(0);
     DIR *dp(0);
     struct dirent *dirp(0);
-    char *key = "persist.sys.sensors.iio.present";
+    const char *key = "persist.sys.sensors.iio.present";
     char value[PROPERTY_VALUE_MAX];
 
     if (property_get(key, value, "")) {