Skip to content

Commit df5c36a

Browse files
committed
Uncommented i2c_wait_SI(obj), as it should not have been commented out.
1 parent dc68b76 commit df5c36a

File tree

1 file changed

+1
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX

1 file changed

+1
-1
lines changed

libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX/i2c_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ static inline int i2c_do_read(i2c_t *obj, int last) {
163163
i2c_clear_SI(obj);
164164

165165
// wait for it to arrive
166-
//i2c_wait_SI(obj);
166+
i2c_wait_SI(obj);
167167

168168
// return the data
169169
return (I2C_DAT(obj) & 0xFF);

0 commit comments

Comments
 (0)