Skip to content

Commit

Permalink
[modules/fru.c] Force initial read to EEPROM
Browse files Browse the repository at this point in the history
We can't start the EEPROM structure with the runtime flag as true,
because it'll make the firware believe it has already tried to read it.
  • Loading branch information
Henrique Silva committed May 3, 2018
1 parent 95e1ace commit 220406c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/fru.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fru_data_t fru[FRU_COUNT] = {
.read_f = at24mac_read,
.write_f = at24mac_write,
},
.runtime = true
.runtime = false
},
#ifdef MODULE_RTM
[FRU_RTM] = {
Expand All @@ -52,7 +52,7 @@ fru_data_t fru[FRU_COUNT] = {
.read_f = eeprom_24xx64_read,
.write_f = eeprom_24xx64_write,
},
.runtime = true
.runtime = false
}
#endif
};
Expand Down

0 comments on commit 220406c

Please sign in to comment.