projects
/
platform
/
adaptation
/
RPI3
/
device-manager-plugin-RPI3.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96a7769
)
Modify blinkm_led_stop_script
58/182658/1
accepted/tizen/5.0/unified/20181102.011946
accepted/tizen/unified/20180628.130521
accepted/tizen/unified/20180712.092605
submit/tizen/20180628.005923
submit/tizen/20180710.030326
submit/tizen_5.0/20181101.000001
author
lokilee73
<changjoo.lee@samsung.com>
Wed, 27 Jun 2018 02:30:36 +0000
(11:30 +0900)
committer
lokilee73
<changjoo.lee@samsung.com>
Wed, 27 Jun 2018 02:30:41 +0000
(11:30 +0900)
peripherial_i2c_byte_write() was removed, So replaced it with peripherial_i2c_write().
Change-Id: If67f2b0fc03effbfd4e87d8c5a0737a581e1dfa6
Signed-off-by: lokilee73 <changjoo.lee@samsung.com>
hw/led/led.c
[changed mode: 0644->0755]
patch
|
blob
|
history
diff --git
a/hw/led/led.c
b/hw/led/led.c
old mode 100644
(file)
new mode 100755
(executable)
index
971316f
..
d7f0b39
--- 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);
}
/**