");
- httpMessage += F("
");
#if HASP_USE_WIFI > 0 && !defined(STM32F4xx)
if(WiFi.getMode() == WIFI_STA) {
@@ -1487,7 +1506,7 @@ static void webHandleGpioConfig()
httpMessage += id;
httpMessage += ("&pin=");
httpMessage += conf.pin;
- httpMessage += ("'>Delete
");
+ httpMessage += ("' class='trash'>
");
configCount++;
}
}
@@ -1730,8 +1749,9 @@ static void webHandleDebugConfig()
#if HASP_USE_SYSLOG > 0
// Syslog host
httpMessage += F("");
diff --git a/src/sys/svc/hasp_http.h b/src/sys/svc/hasp_http.h
index dc22955c..75e76708 100644
--- a/src/sys/svc/hasp_http.h
+++ b/src/sys/svc/hasp_http.h
@@ -11,7 +11,7 @@ struct hasp_http_config_t
bool enable = true;
uint16_t port = 80;
- char username[MAX_USERNAME_LENGTH] = "";
+ char username[MAX_USERNAME_LENGTH] = "";
char password[MAX_PASSWORD_LENGTH] = "";
};