forked from me-no-dev/ESPAsyncWebServer
"fix" serial to use the full internal buffer
This commit is contained in:
@@ -121,8 +121,9 @@ const char* http_password = "admin";
|
||||
extern "C" void system_set_os_print(uint8 onoff);
|
||||
extern "C" void ets_install_putc1(void* routine);
|
||||
|
||||
//Use the internal hardware buffer
|
||||
static void _u0_putc(char c){
|
||||
while(((U0S >> USTXC) & 0x7F) != 0);
|
||||
while(((U0S >> USTXC) & 0x7F) == 0x7F);
|
||||
U0F = c;
|
||||
}
|
||||
|
||||
@@ -132,9 +133,6 @@ void initSerial(){
|
||||
system_set_os_print(1);
|
||||
}
|
||||
|
||||
void initWiFi(){
|
||||
}
|
||||
|
||||
void setup(){
|
||||
initSerial();
|
||||
SPIFFS.begin();
|
||||
|
Reference in New Issue
Block a user