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.
Dependents: oldheating gps motorhome heating
Diff: log/http-log-query.c
- 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();
     }
 }