summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorBoyeon <boyeon.son@samsung.com>2019-08-23 20:18:01 +0900
committerBoyeon <boyeon.son@samsung.com>2019-08-23 20:18:01 +0900
commit71be3d8daf587a2a5221dcda7d16227577bd8578 (patch)
treebd1596446510f6018abd9ac0b258c104d4d70971 /inc
parent167afb497c6ab6109c00ac87bb5cce0c8f42138c (diff)
downloadst-things-light-71be3d8daf587a2a5221dcda7d16227577bd8578.tar.gz
st-things-light-71be3d8daf587a2a5221dcda7d16227577bd8578.tar.bz2
st-things-light-71be3d8daf587a2a5221dcda7d16227577bd8578.zip
Change resouce_led
Change-Id: Ia1d97170510ccfc14f6d898d4236a19d4e0a478f
Diffstat (limited to 'inc')
-rwxr-xr-xinc/resource/resource_infrared_motion.h8
-rwxr-xr-xinc/resource/resource_led.h6
2 files changed, 10 insertions, 4 deletions
diff --git a/inc/resource/resource_infrared_motion.h b/inc/resource/resource_infrared_motion.h
index 993a973..60565a7 100755
--- a/inc/resource/resource_infrared_motion.h
+++ b/inc/resource/resource_infrared_motion.h
@@ -18,10 +18,10 @@
#define __RESOURCE_INFRARED_MOTION_H__
typedef enum {
- PERIPHERAL_HANDLE_ERROR_NONE = 0, /**< Successful */
- PERIPHERAL_HANDLE_ERROR_NOT_OPEN,
- PERIPHERAL_HANDLE_ERROR_INVALID_PIN
-} peripheral_handle_error_e;
+ MOTION_HANDLE_ERROR_NONE = 0, /**< Successful */
+ MOTION_HANDLE_ERROR_NOT_OPEN,
+ MOTION_HANDLE_ERROR_INVALID_PIN
+} resource_infrared_motion_handle_error_e;
typedef void (*resource_infrared_motion_interrupted_cb) (uint32_t motion_value, void *user_data);
diff --git a/inc/resource/resource_led.h b/inc/resource/resource_led.h
index 4adf22f..2a49a34 100755
--- a/inc/resource/resource_led.h
+++ b/inc/resource/resource_led.h
@@ -17,6 +17,12 @@
#ifndef __RESOURCE_LED_H__
#define __RESOURCE_LED_H__
+typedef enum {
+ LED_HANDLE_ERROR_NONE = 0, /**< Successful */
+ LED_HANDLE_ERROR_NOT_OPEN,
+ LED_HANDLE_ERROR_INVALID_PIN
+} resource_led_handle_error_e;
+
/**
* @brief Writes value of gpio connected led light
* @param[in] pin_num The gpio pin number for the led light