diff options
author | lokilee73 <changjoo.lee@samsung.com> | 2018-06-27 11:34:22 +0900 |
---|---|---|
committer | lokilee73 <changjoo.lee@samsung.com> | 2018-06-27 11:34:27 +0900 |
commit | a767db5c43da65675887deaaabcf89a1db338b31 (patch) | |
tree | c4b60c1c7e90c0f0c5799b6a1521d91b169da535 | |
parent | 95a0642c57ee597753fc2327b94dfbbe362154b8 (diff) | |
download | device-manager-plugin-artik-a767db5c43da65675887deaaabcf89a1db338b31.tar.gz device-manager-plugin-artik-a767db5c43da65675887deaaabcf89a1db338b31.tar.bz2 device-manager-plugin-artik-a767db5c43da65675887deaaabcf89a1db338b31.zip |
Modify blinkm_led_stop_scriptsubmit/tizen/20180628.005923accepted/tizen/unified/20180628.130518
peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write().
Change-Id: I4fa3388489e23fdedc7e2c95c23272e65c6a949a
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
-rwxr-xr-x[-rw-r--r--] | hw/led/led.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/hw/led/led.c b/hw/led/led.c index 547c894..130a8e7 100644..100755 --- a/hw/led/led.c +++ b/hw/led/led.c @@ -73,7 +73,10 @@ static uint8_t off_cmd[4] = { SET_CMD_CODE, 0x00, 0x00, 0x00 }; static void blinkm_led_stop_script(peripheral_i2c_h handle) { - peripheral_i2c_write_byte(handle, STOP_SCRIPT_CMD); + uint8_t data[1] = {STOP_SCRIPT_CMD}; + uint32_t length = 1; + + peripheral_i2c_write(handle, data, length); } /** |