Working version for L-tek FF1705
Diff: DS1820.cpp
- Revision:
- 2:b7ad1da7331a
- Parent:
- 1:e4689408d617
- Child:
- 3:a250babd0a9f
--- a/DS1820.cpp Mon Mar 16 08:35:03 2015 +0000
+++ b/DS1820.cpp Mon Mar 16 08:52:33 2015 +0000
@@ -96,17 +96,17 @@
present = 0;
#if DEBUG
serial.printf("Device doesn't belong to the DS1820 family\r\n");
+#endif
return false;
-#endif
}
return true;
}
+ else {
#if DEBUG
- else {
serial.printf("Invalid CRC!\r\n");
+#endif
return false;
}
-#endif
}
/**