Commit 959146c
committed
Handle more eeprom errors
While trying to run OLAF on more people's laptops we ran into another
type of eeprom read error, where it could read the eeprom but the
contents were not a string. This handles that specific case but really
we shouldn't be trying to read arbitrary eeproms if hardware is being
mocked.
I could add a specific eeprom value to look for but that's not yet
common across other projects so this turns it off if any hardware is
mocked.1 parent 7e45912 commit 959146c
1 file changed
Lines changed: 7 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
138 | 139 | | |
139 | 140 | | |
140 | 141 | | |
| |||
0 commit comments