David Smart / NWSWeather
Revision:
4:94dfdc405640
Parent:
2:eae60b64066e
Child:
6:cf96f2787a4e
--- a/NWSWeather.cpp	Sun Mar 23 20:42:29 2014 +0000
+++ b/NWSWeather.cpp	Sun Apr 20 18:56:11 2014 +0000
@@ -182,12 +182,9 @@
 
 NWSWeather::NWSReturnCode_T NWSWeather::getParam(const char *name, Value_T *value, TypeOf_T *typeis)
 {
-    INFO("getParam(%s)", name);
     for (int i=0; i < WeatherItemCount; i++) {
-        //printf("Compare(%s,%s)\r\n", name, WeatherData[i].name);
         if (strcmp(name, WeatherData[i].name) == 0) {
             *value = WeatherData[i].value;
-            INFO("assigned value.");
             if (typeis)
                 *typeis = WeatherData[i].typeis;
             return noerror;
@@ -259,7 +256,6 @@
     int i;
     int count = WeatherItemCount;
 
-    //printf("::%s::\r\n", p);
     p1 = strchr(p, '<');
     if (p1++) {
         p2 = strchr(p1+1, '>');
@@ -268,7 +264,6 @@
             if (p3) {
                 *p2++ = '\0';
                 *p3 = '\0';
-                //printf("tag: %s, value: %s\r\n", p1, p2);
                 for (i=0; i<count; i++) {
                     if (strcmp(p1, WeatherData[i].name) == 0) {
                         switch(WeatherData[i].typeis) {
@@ -293,7 +288,6 @@
                                 return badparameter;
                                 //break;
                         }
-                        //PrintWeatherRecord(i);
                         return noerror;
                     }
                 }