Skip to content

Commit 7da5f67

Browse files
committed
Tweak ESP32 min alloc
1 parent ba8525e commit 7da5f67

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/WebServer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ struct guard_type {
4646
#ifdef ESP8266
4747
#define ASYNCWEBSERVER_MINIMUM_ALLOC 1024
4848
#else
49-
#define ASYNCWEBSERVER_MINIMUM_ALLOC 4096
49+
#define ASYNCWEBSERVER_MINIMUM_ALLOC 2048
5050
#endif
5151
#endif
5252

@@ -449,7 +449,7 @@ void AsyncWebServer::printStatus(Print& dest){
449449
print_dest.printf_P(PSTR(" -- Response %X, state %d, [%d %d - %d %d %d]"), (intptr_t) r, r->_state, r->_headLength, r->_contentLength, r->_sentLength, r->_ackedLength, r->_writtenLength);
450450
}
451451
}
452-
print_dest.println();
452+
print_dest.write('\n');
453453
}
454454
}
455455
#ifdef ASYNCWEBSERVER_NEEDS_MUTEX

0 commit comments

Comments
 (0)