"fix" serial to use the full internal buffer

This commit is contained in:
Me No Dev
2015-12-21 16:07:46 +02:00
parent f302509f9e
commit c2d0b1496f

View File

@@ -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();