Commit 7a02693
committed
Return value for readEEPROM
uint16_t TMP117::readEEPROM (uint8_t eeprom_nr) doesn't have an explicity return in the event that the EEPROM is busy. This makes newer compilers throw errors. 0 seems to be the most innocent return value, but maybe the max uint16 might be better?1 parent 49dd15d commit 7a02693
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| 289 | + | |
289 | 290 | | |
290 | 291 | | |
291 | 292 | | |
| |||
0 commit comments