diff options
author | kibak.yoon <kibak.yoon@samsung.com> | 2017-09-25 14:13:51 +0900 |
---|---|---|
committer | kibak.yoon <kibak.yoon@samsung.com> | 2017-09-25 22:57:35 +0900 |
commit | dbf5629ae2ca0e05759003b6844be701520b893a (patch) | |
tree | dfefa60eae19f8d599058d765e6e2c0442d4dbec /src/resource/resource_led.c | |
parent | e56711738b1d4c62319a00fc7058c057d8101f43 (diff) | |
download | position-finder-server-dbf5629ae2ca0e05759003b6844be701520b893a.tar.gz position-finder-server-dbf5629ae2ca0e05759003b6844be701520b893a.tar.bz2 position-finder-server-dbf5629ae2ca0e05759003b6844be701520b893a.zip |
Change peripheral io APIstizen_8.0_m2_releasetizen_7.0_m2_releasetizen_6.5.m2_releasetizen_6.0.m2_releasetizen_5.5.m2_releasesubmit/tizen_6.5/20211028.161201submit/tizen_6.0_hotfix/20201103.114801submit/tizen_6.0_hotfix/20201102.192501submit/tizen_6.0/20201029.205101submit/tizen_5.5_wearable_hotfix/20201026.184301submit/tizen_5.5_mobile_hotfix/20201026.185101submit/tizen_5.5/20191031.000001submit/tizen_5.0/20181101.000001submit/tizen/20170926.023501accepted/tizen/unified/20170926.165620accepted/tizen/8.0/unified/20231005.092348accepted/tizen/7.0/unified/hotfix/20221116.104300accepted/tizen/7.0/unified/20221110.060951accepted/tizen/6.5/unified/20211028.093034accepted/tizen/6.0/unified/hotfix/20201103.051209accepted/tizen/6.0/unified/20201030.122833accepted/tizen/5.5/unified/wearable/hotfix/20201027.122833accepted/tizen/5.5/unified/mobile/hotfix/20201027.081414accepted/tizen/5.5/unified/20191031.014750accepted/tizen/5.0/unified/20181102.011806tizen_8.0tizen_7.0_hotfixtizen_7.0tizen_6.5tizen_6.0_hotfixtizen_6.0tizen_5.5_wearable_hotfixtizen_5.5_tvtizen_5.5_mobile_hotfixtizen_5.5tizen_5.0tizenaccepted/tizen_unifiedaccepted/tizen_8.0_unifiedaccepted/tizen_7.0_unified_hotfixaccepted/tizen_7.0_unifiedaccepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedaccepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedaccepted/tizen_5.0_unified
- change parameter type from int to uint32_t in peripheral_gpio_read()
- change gpio interrupt-related API
Change-Id: Iec4794ef19ab299879d531b7f1615a402a4162de
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Diffstat (limited to 'src/resource/resource_led.c')
-rw-r--r-- | src/resource/resource_led.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resource/resource_led.c b/src/resource/resource_led.c index aa5e170..19361f5 100644 --- a/src/resource/resource_led.c +++ b/src/resource/resource_led.c @@ -43,7 +43,7 @@ int resource_write_led(int pin_num, int write_value) ret = peripheral_gpio_open(pin_num, &resource_get_info(pin_num)->sensor_h); retv_if(!resource_get_info(pin_num)->sensor_h, -1); - ret = peripheral_gpio_set_direction(resource_get_info(pin_num)->sensor_h, PERIPHERAL_GPIO_DIRECTION_OUT); + ret = peripheral_gpio_set_direction(resource_get_info(pin_num)->sensor_h, PERIPHERAL_GPIO_DIRECTION_OUT_INITIALLY_LOW); retv_if(ret != 0, -1); resource_get_info(pin_num)->opened = 1; |