diff --git a/user/cgi_main.c b/user/cgi_main.c index fe33ab6..7e63ad6 100644 --- a/user/cgi_main.c +++ b/user/cgi_main.c @@ -25,20 +25,12 @@ httpd_cgi_state ICACHE_FLASH_ATTR tplScreen(HttpdConnData *connData, char *token char buff[150]; - if (streq(token, "theme")) { - sprintf(buff, "%d", termconf->theme); - tplSend(connData, buff, -1); - } - else if (streq(token, "want_all_fn")) { + if (streq(token, "want_all_fn")) { sprintf(buff, "%d", termconf->want_all_fn); tplSend(connData, buff, -1); } - else if (streq(token, "default_fg")) { - sprintf(buff, "%d", termconf->default_fg); - tplSend(connData, buff, -1); - } - else if (streq(token, "default_bg")) { - sprintf(buff, "%d", termconf->default_bg); + else if (streq(token, "debugbar")) { + sprintf(buff, "%d", termconf->debugbar); tplSend(connData, buff, -1); } @@ -64,7 +56,6 @@ tplAbout(HttpdConnData *connData, char *token, void **arg) tplSend(connData, httpdGetVersion(), -1); } else if (streq(token, "vers_sdk")) { - //tplSend(connData, STR(ESP_SDK_VERSION), -1); tplSend(connData, system_get_sdk_version(), -1); } else if (streq(token, "hash_backend")) {