Drivers: remove misleading code comment.

pull/8/head
Peter Hinch 2020-12-24 11:33:12 +00:00
rodzic 1a35c04207
commit 4d0c1c4dd1
4 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -59,7 +59,6 @@ class ST7735R(framebuf.FrameBuffer):
self.height = height # Required by Writer class
self.width = width
self._spi_init = init_spi
# Save color mode for use by writer_gui (blit)
mode = framebuf.GS8 # Use 8bit greyscale for 8 bit color.
gc.collect()
buf = bytearray(height * width)

Wyświetl plik

@ -57,7 +57,6 @@ class ST7735R(framebuf.FrameBuffer):
self.height = height # Required by Writer class
self.width = width
self._spi_init = init_spi
# Save color mode for use by writer_gui (blit)
mode = framebuf.GS8 # Use 8bit greyscale for 8 bit color.
gc.collect()
buf = bytearray(self.height * self.width)

Wyświetl plik

@ -60,7 +60,6 @@ class ST7735R(framebuf.FrameBuffer):
self.height = height # Required by Writer class
self.width = width
self._spi_init = init_spi
# Save color mode for use by writer_gui (blit)
mode = framebuf.GS4_HMSB # Use 4bit greyscale.
gc.collect()
buf = bytearray(self.height * self.width // 2)

Wyświetl plik

@ -60,7 +60,6 @@ class ST7735R(framebuf.FrameBuffer):
self.height = height # Required by Writer class
self.width = width
self._spi_init = init_spi
# Save color mode for use by writer_gui (blit)
mode = framebuf.GS4_HMSB # Use 4bit greyscale.
gc.collect()
buf = bytearray(height * width // 2)