1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Remove UART register reference from HardwareSerial

This commit is contained in:
Ivan Grokhotkov 2016-01-26 16:21:44 +03:00
parent af18612a4c
commit d1149c53e6

View File

@ -122,7 +122,7 @@ int HardwareSerial::available(void)
result += 1; result += 1;
} }
if (!result) { if (!result) {
optimistic_yield(USD(_uart_nr) / 128); optimistic_yield(10000);
} }
return result; return result;
} }