projects
/
apps
/
native
/
st-things-blind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change all the SmartThings APIs for Tizen 5.0
[apps/native/st-things-blind.git]
/
inc
/
resource_illuminance_sensor.h
diff --git
a/inc/resource/resource_illuminance_sensor.h
b/inc/resource_illuminance_sensor.h
similarity index 80%
rename from
inc/resource/resource_illuminance_sensor.h
rename to
inc/resource_illuminance_sensor.h
index
05523ca
..
c77293c
100644
(file)
--- a/
inc/resource/resource_illuminance_sensor.h
+++ b/
inc/resource_illuminance_sensor.h
@@
-16,8
+16,8
@@
* limitations under the License.
*/
* limitations under the License.
*/
-#ifndef __
POSITION_FINDER_
RESOURCE_ILLUMINANCE_SENSOR_H__
-#define __
POSITION_FINDER_
RESOURCE_ILLUMINANCE_SENSOR_H__
+#ifndef __RESOURCE_ILLUMINANCE_SENSOR_H__
+#define __RESOURCE_ILLUMINANCE_SENSOR_H__
/**
* @brief Reads the value of i2c bus connected illuminance sensor.
/**
* @brief Reads the value of i2c bus connected illuminance sensor.
@@
-28,5
+28,10
@@
*/
extern int resource_read_illuminance_sensor(int i2c_bus, uint32_t *out_value);
*/
extern int resource_read_illuminance_sensor(int i2c_bus, uint32_t *out_value);
-#endif /* __POSITION_FINDER_RESOURCE_ILLUMINANCE_SENSOR_H__ */
+/**
+ * @brief Destory the i2c handle and changes the gpio pin state to the close(0).
+ */
+extern void resource_close_illuminance_sensor(void);
+
+#endif /* __RESOURCE_ILLUMINANCE_SENSOR_H__ */