stuff
This commit is contained in:
parent
2c2adc9678
commit
0ef3656bf6
2 changed files with 3 additions and 3 deletions
|
@ -101,7 +101,7 @@ void setup() {
|
||||||
Serial.println("420");
|
Serial.println("420");
|
||||||
Serial.printf(".:: CanGrow firmware v%s build %s starting ::.\n", CANGROW_VER, CANGROW_BUILD);
|
Serial.printf(".:: CanGrow firmware v%s build %s starting ::.\n", CANGROW_VER, CANGROW_BUILD);
|
||||||
|
|
||||||
Serial.print("II To format LittleFS, pull GPIO ");
|
Serial.print("II To format / factory reset LittleFS, pull GPIO ");
|
||||||
Serial.print(PinWIPE);
|
Serial.print(PinWIPE);
|
||||||
Serial.print(" (PinWIPE) to ");
|
Serial.print(" (PinWIPE) to ");
|
||||||
// we need to invert the default to tell that user the state for an action
|
// we need to invert the default to tell that user the state for an action
|
||||||
|
|
|
@ -68,10 +68,10 @@ void SetupWebserver() {
|
||||||
requestLogger.setOutput(Serial);
|
requestLogger.setOutput(Serial);
|
||||||
// this activates the middleware
|
// this activates the middleware
|
||||||
if(configSystem.httpLogSerial == true) {
|
if(configSystem.httpLogSerial == true) {
|
||||||
Serial.println(":: [Webserver] serial request logging is enabled");
|
Serial.println(":: [Webserver] request logging to serial is enabled");
|
||||||
webserver.addMiddleware(&requestLogger);
|
webserver.addMiddleware(&requestLogger);
|
||||||
} else {
|
} else {
|
||||||
Serial.println(":: [Webserver] serial request logging is disabled");
|
Serial.println(":: [Webserver] request logging to serial is disabled");
|
||||||
}
|
}
|
||||||
|
|
||||||
webserver.onNotFound(WebserverNotFound);
|
webserver.onNotFound(WebserverNotFound);
|
||||||
|
|
Loading…
Reference in a new issue