Skip to content

Commit f8ecc9b

Browse files
committed
[NUCLEO_F103RB] Allow ACK polling with I2C (again)
Go back to the last modification made by Bogdan.
1 parent b42dacb commit f8ecc9b

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
@@ -170,8 +170,6 @@ int i2c_write(i2c_t *obj, int address, const char *data, int length, int stop) {
170170
int timeout;
171171
int count;
172172

173-
if (length == 0) return 0;
174-
175173
/*
176174
// Wait until the bus is not busy anymore
177175
timeout = LONG_TIMEOUT;

0 commit comments

Comments
 (0)