Skip to content

Commit 8400d04

Browse files
committed
drivers/display/lcd160cr: Fix bug with save_to_flash method.
1 parent f5ee4d9 commit 8400d04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/display/lcd160cr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ def set_startup_deco(self, value):
235235
self._fcmd2('<BBB', 0x19, value)
236236

237237
def save_to_flash(self):
238-
self._fcmd2('<BBB', 0x66, 'n')
238+
self._send(b'\x02fn')
239239

240240
#### PIXEL ACCESS ####
241241

0 commit comments

Comments
 (0)