lib/unigraphic/SSD1322.cpp

changeset 28
424d792fea4f
parent 26
86f099bda525
child 40
069bbd5ee3e4
--- a/lib/unigraphic/SSD1322.cpp	Thu Oct 15 01:12:31 2020 +0200
+++ b/lib/unigraphic/SSD1322.cpp	Fri Oct 16 22:08:47 2020 +0200
@@ -138,13 +138,13 @@
 
 void SSD1322::hw_reset()
 {
-  wait_ms(15);
+	ThisThread::sleep_for(15);
   _DC = 1;
   _CS = 1;
   _RST = 0;                        // display reset
-  wait_ms(2);
+  ThisThread::sleep_for(2);
   _RST = 1;                       // end reset
-  wait_ms(100);
+  ThisThread::sleep_for(100);
 }
 
 void SSD1322::bus_enable(bool enable)

mercurial