fix problems spotted very quickly by gamblor :)

This commit is contained in:
Jeff Epler 2023-03-01 17:56:18 -06:00
parent ac0bf1049a
commit 6eae40338c
No known key found for this signature in database
GPG Key ID: D5BF15AB975AB4DE
1 changed files with 1 additions and 3 deletions

View File

@ -83,7 +83,7 @@
//| //|
//| # Take over display to drive directly //| # Take over display to drive directly
//| display.auto_refresh = False //| display.auto_refresh = False
//| bus = display.bus //| display_bus = display.bus
//| //|
//| # Display repeatedly & directly. //| # Display repeatedly & directly.
//| while True: //| while True:
@ -95,8 +95,6 @@
//| display_bus.send(42, struct.pack(">hh", 0, odg.bitmap.width - 1)) //| display_bus.send(42, struct.pack(">hh", 0, odg.bitmap.width - 1))
//| display_bus.send(43, struct.pack(">hh", 0, odg.bitmap.height - 1)) //| display_bus.send(43, struct.pack(">hh", 0, odg.bitmap.height - 1))
//| display_bus.send(44, d.bitmap) //| display_bus.send(44, d.bitmap)
//|
//| d.next_frame()
//| """ //| """
//| //|
//| def __init__(self, file: str) -> None: //| def __init__(self, file: str) -> None: