diff options
| author | Damien George <damien.p.george@gmail.com> | 2018-09-18 13:49:49 +1000 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2018-09-18 13:49:49 +1000 |
| commit | dc77fdb7d432ce818a60f7a3b290d5eee760f7bc (patch) | |
| tree | 3819666a69f6f8d97d1fcca38f971bc713da2a02 /drivers/display/lcd160cr.py | |
| parent | 7c4f98db858325d799ee7daf296e6f32454fb85c (diff) | |
drivers/display/lcd160cr.py: In fast_spi, send command before flushing.
The intention of oflush() is to flush the "fast SPI" command itself so that
the SPI object is ready to use when the function returns.
Diffstat (limited to 'drivers/display/lcd160cr.py')
| -rw-r--r-- | drivers/display/lcd160cr.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/display/lcd160cr.py b/drivers/display/lcd160cr.py index dd9ab9985..cf562a40d 100644 --- a/drivers/display/lcd160cr.py +++ b/drivers/display/lcd160cr.py @@ -428,9 +428,9 @@ class LCD160CR: self._send(self.buf19) def fast_spi(self, flush=True): + self._send(b'\x02\x12') if flush: self.oflush() - self._send(b'\x02\x12') return self.spi def show_framebuf(self, buf): |
