Skip to content

Commit b76c763

Browse files
committed
Errors corrected
1 parent 942fada commit b76c763

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/boot/ksdk1.1.0/warp-kl03-ksdk1.1-boot.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1152,6 +1152,15 @@ returnValue = I2C_DRV_MasterSendDataBlocking(
11521152
1 /* The length in bytes of the data to be transferred and data is transferred from the sensor to master via bus */,
11531153
500 /* timeout in milliseconds */);
11541154

1155+
returnValue = I2C_DRV_MasterSendDataBlocking(
1156+
0 /* I2C peripheral instance */,
1157+
&slave /* The pointer to the I2C device information structure */,
1158+
cmdBuf_LEDCTRL /* The pointer to the commands to be transferred */,
1159+
2 /* The length in bytes of the commands to be transferred */,
1160+
NULL /* The pointer to the data to be transferred */,
1161+
0 /* The length in bytes of the data to be transferred */,
1162+
500 /* timeout in milliseconds */);
1163+
11551164
/*
11561165
* This turns off the LED after finish reading the data
11571166
*/

0 commit comments

Comments
 (0)