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.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: measurement/Temperature.cpp
- Revision:
- 137:a52821cdb108
- Parent:
- 124:311fa85af2b3
--- a/measurement/Temperature.cpp	Mon Aug 10 14:20:40 2015 +0000
+++ b/measurement/Temperature.cpp	Mon Feb 15 09:49:35 2016 +0000
@@ -16,7 +16,7 @@
                 return true;
 }
 
-size_t Temperature::read(char *buf, size_t maxLen, char *status, size_t num)
+int Temperature::read(char *buf, size_t maxLen, char *status, size_t num)
 {
         static const char *fmt = "105,%ld,%f\r\n";
         if (!deviceReady)
    
 Cumulocity
            Cumulocity