Skip to content

Commit a164c6f

Browse files
author
Bogdan Marinescu
committed
[NUCLEO_F103RB] Allow ACK polling with I2C
1 parent 7d1c888 commit a164c6f

File tree

1 file changed

+0
-2
lines changed
  • libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB

1 file changed

+0
-2
lines changed

libraries/mbed/targets/hal/TARGET_STM/TARGET_NUCLEO_F103RB/i2c_api.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@ int i2c_write(i2c_t *obj, int address, const char *data, int length, int stop) {
175175
int timeout;
176176
int count;
177177

178-
if (length == 0) return 0;
179-
180178
/*
181179
// Wait until the bus is not busy anymore
182180
timeout = LONG_TIMEOUT;

0 commit comments

Comments
 (0)