1
0
Fork 0

wasp: drivers: st7789: Remove redunant delay

pull/5/head
Daniel Thompson 2020-01-28 21:19:36 +00:00
parent 28640d431e
commit 80bee2d305
1 changed files with 6 additions and 1 deletions

View File

@ -41,7 +41,12 @@ class ST7789(object):
self.write_data(cmd[1])
self.fill(0)
self.write_cmd(_DISPON)
sleep_ms(125)
# From the point we sent the SLPOUT there must be a
# 120ms gap before any subsequent SLPIN. In most cases
# (i.e. wen the SPI baud rate is slower than 8M then
# that time already elapsed as we zeroed the RAM).
#sleep_ms(125)
def poweroff(self):
pass