UniGraphics Library Fork to support mbed os 6.3 Release for ILI9341
Dependents: TFT_ILI9341_UniGraphic TFT_ILI9341_os6
Diff: Protocols/SPI8.cpp
- Revision:
- 1:6f267dbbafec
- Parent:
- 0:bb2bda4f5846
--- a/Protocols/SPI8.cpp Tue Oct 06 05:07:55 2020 +0000 +++ b/Protocols/SPI8.cpp Thu Oct 08 17:58:07 2020 -0500 @@ -194,13 +194,13 @@ } void SPI8::hw_reset() { - ThisThread::sleep_for(15); + ThisThread::sleep_for(15ms); _DC = 1; _CS = 1; _reset = 0; // display reset - ThisThread::sleep_for(2); + ThisThread::sleep_for(2ms); _reset = 1; // end reset - ThisThread::sleep_for(100); + ThisThread::sleep_for(100ms); } void SPI8::BusEnable(bool enable) {