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-html.c
- Revision:
- 87:c51478679090
- Parent:
- 83:0d956edd55b7
--- a/log/http-log-html.c Mon Apr 08 10:13:01 2019 +0000
+++ b/log/http-log-html.c Mon Apr 08 12:47:59 2019 +0000
@@ -10,9 +10,9 @@
PageAddNav(LOG_PAGE);
PageAddH1(PageSite, "Log");
- HttpAddText("<h2>");
- PageAddInputButton("Log", "Clear", "/log", "clearlog");
- HttpAddText("</h2>\r\n");
+ PageAddInputButton("Existing content", "Clear", "/log", "clearlog" );
+ if (LogUart) PageAddInputButton("Output to uart is on", "Turn off", "/log", "chg-log-uart");
+ else PageAddInputButton("Output to uart is off", "Turn on", "/log", "chg-log-uart");
HttpAddText("<code>");
HttpAddStream(LogEnumerateStart, LogEnumerate);