Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of DS1820 by
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 } /**