mirror of
https://github.com/jtgans/g13gui.git
synced 2025-06-20 08:23:50 -04:00
displaydevice: Split update from _pushFrame
This allows loopbackdisplaydevice to function.
This commit is contained in:
parent
18e536d7f7
commit
83f124bc9c
@ -54,4 +54,7 @@ class G13DisplayDevice(DisplayDevice):
|
|||||||
|
|
||||||
def update(self, image):
|
def update(self, image):
|
||||||
lpbm = ImageToLPBM(image)
|
lpbm = ImageToLPBM(image)
|
||||||
|
self._pushFrame(lpbm)
|
||||||
|
|
||||||
|
def _pushFrame(self, lpbm):
|
||||||
self._manager.setLCDBuffer(lpbm)
|
self._manager.setLCDBuffer(lpbm)
|
||||||
|
Loading…
Reference in New Issue
Block a user