从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
usefull for ESP8266 compatibility
Fixes: https://github.com/espressif/arduino-esp32/issues/270
NOTE: UART1's default pins can be used only when SPI Flash is DIO thanks @Ladyada
many possible problems fixed in preparation for thread-safe