Andrew Boyson / web

Dependents:   oldheating gps motorhome heating

Revision:
87:c51478679090
Parent:
34:30124e188ae1
--- a/log/http-log-query.c	Mon Apr 08 10:13:01 2019 +0000
+++ b/log/http-log-query.c	Mon Apr 08 12:47:59 2019 +0000
@@ -1,5 +1,6 @@
 #include "http.h"
 #include "log.h"
+#include "settings.h"
 
 void HttpLogQuery(char* pQuery)
 {
@@ -8,6 +9,7 @@
         char* pName;
         char* pValue;
         pQuery = HttpQuerySplit(pQuery, &pName, &pValue);                    
-        if (HttpSameStr(pName, "clearlog")) LogClear();
+        if (HttpSameStr(pName, "clearlog"    )) LogClear();
+        if (HttpSameStr(pName, "chg-log-uart")) ChgLogUart();
     }
 }