Skip to content

Commit

Permalink
eeprom hack only for gd
Browse files Browse the repository at this point in the history
  • Loading branch information
jrwhite committed Jan 9, 2023
1 parent 111fd10 commit c8e0a17
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/eeprom/eeprom_at2x.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,9 @@ static int eeprom_at2x_write(const struct device *dev, off_t offset,

while (len) {
ret = config->write_fn(dev, offset, pbuf, len);
#if CONFIG_BOARD_SCANNER_GD
k_msleep(10);
#endif
if (ret < 0) {
LOG_ERR("failed to write to EEPROM (err %d)", ret);
#if ANY_INST_HAS_WP_GPIOS
Expand Down

0 comments on commit c8e0a17

Please sign in to comment.