Skip to content

Commit fe96c9c

Browse files
authored
Merge pull request #2 from tcirstea/master
Return value for readEEPROM
2 parents 49dd15d + 5ce6a4c commit fe96c9c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=TMP117-Arduino
2-
version=1.0.0
2+
version=1.0.1
33
author=Nils Minor <[email protected]>
44
maintainer=Nils Minor <[email protected]>
55
sentence=Full-featured Arduino compatible TMP117 driver

src/TMP117.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ uint16_t TMP117::readEEPROM (uint8_t eeprom_nr) {
286286
}
287287
else {
288288
Serial.println("EEPROM is busy");
289+
return 0;
289290
}
290291
}
291292

0 commit comments

Comments
 (0)