Skip to content

Commit

Permalink
Remove useless statement.
Browse files Browse the repository at this point in the history
  • Loading branch information
whitequark committed May 1, 2018
1 parent 86e2e20 commit 928751b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion firmware/library/eeprom.c
Expand Up @@ -42,7 +42,6 @@ bool eeprom_write(uint8_t chip, uint16_t addr, uint8_t *buf, uint16_t len, bool
}
xfer_bytes[1 + double_byte] = buf[i];

started = false;
for(j = 0; timeout == 0 || j < timeout; j++) {
started = i2c_start(chip << 1);
if(started)
Expand Down

0 comments on commit 928751b

Please sign in to comment.