Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Files at this revision

API Documentation at this revision

Comitter:
xinlei
Date:
Wed May 20 09:57:55 2015 +0000
Parent:
116:5de54f09f754
Child:
118:1b6c7d06d933
Commit message:
remove useless debug for measurement timeout

Changed in this revision

measurement/Acceleration.cpp Show annotated file Show diff for this revision Revisions of this file
measurement/Location.cpp Show annotated file Show diff for this revision Revisions of this file
measurement/Potentiometer.cpp Show annotated file Show diff for this revision Revisions of this file
measurement/Signal.cpp Show annotated file Show diff for this revision Revisions of this file
measurement/Temperature.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/measurement/Acceleration.cpp	Wed May 20 09:55:49 2015 +0000
+++ b/measurement/Acceleration.cpp	Wed May 20 09:57:55 2015 +0000
@@ -40,8 +40,6 @@
                 time_t t_interval = time(NULL) - t_start;
                 if (t_interval < TIME_LIMIT_ACCE) {
                         return 0;
-                } else {
-                        aDebug("Acc: Timeout at %d s.\n", t_interval);
                 }
         }
 
--- a/measurement/Location.cpp	Wed May 20 09:55:49 2015 +0000
+++ b/measurement/Location.cpp	Wed May 20 09:57:55 2015 +0000
@@ -24,8 +24,6 @@
                 time_t t_interval = time(NULL) - t_start;
                 if (t_interval < TIME_LIMIT_LOC) {
                         return 0;
-                } else {
-                        aDebug("GPS: Timeout at %d s.\n", t_interval);
                 }
         }
         size_t l = snprintf(buf, maxLen, fmt, deviceID, data[0], data[1],
--- a/measurement/Potentiometer.cpp	Wed May 20 09:55:49 2015 +0000
+++ b/measurement/Potentiometer.cpp	Wed May 20 09:57:55 2015 +0000
@@ -47,8 +47,6 @@
                 time_t t_interval = time(NULL) - t_start;
                 if (t_interval < TIME_LIMIT_ANA) {
                         return 0;
-                } else {
-                        aDebug("Poti: Timeout at %d s.\n", t_interval);
                 }
         }
 
--- a/measurement/Signal.cpp	Wed May 20 09:55:49 2015 +0000
+++ b/measurement/Signal.cpp	Wed May 20 09:57:55 2015 +0000
@@ -32,8 +32,6 @@
                 time_t t_interval = time(NULL) - t_start;
                 if (t_interval < TIME_LIMIT_SIG) {
                         return 0;
-                } else {
-                        aDebug("Signal: Timeout at %d s.\n", t_interval);
                 }
         }
 
--- a/measurement/Temperature.cpp	Wed May 20 09:55:49 2015 +0000
+++ b/measurement/Temperature.cpp	Wed May 20 09:57:55 2015 +0000
@@ -19,8 +19,6 @@
                 time_t t_interval = time(NULL) - t_start;
                 if (t_interval < TIME_LIMIT_TEMP) {
                         return 0;
-                } else {
-                        aDebug("Temp: Timeout at %d s.\n", t_interval);
                 }
         }
         size_t l = snprintf(buf, maxLen, fmt, deviceID, data);