diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:24:50 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2019-02-27 13:26:59 -0500 |
commit | e5041472854c646323f02bce4c57dc86d23815fa (patch) | |
tree | d5f8ee85540d8821dc831ed3afc6fab8acbf0a17 /klippy/extras/display/st7920.py | |
parent | af882ee0fe0510cba5108912ecfbc204e43d03d4 (diff) | |
download | kutter-e5041472854c646323f02bce4c57dc86d23815fa.tar.gz kutter-e5041472854c646323f02bce4c57dc86d23815fa.tar.xz kutter-e5041472854c646323f02bce4c57dc86d23815fa.zip |
font8x14: Store font as strings instead of as bytearray
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'klippy/extras/display/st7920.py')
-rw-r--r-- | klippy/extras/display/st7920.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/klippy/extras/display/st7920.py b/klippy/extras/display/st7920.py index 94dd6c69..bb0d8762 100644 --- a/klippy/extras/display/st7920.py +++ b/klippy/extras/display/st7920.py @@ -13,7 +13,7 @@ ST7920_CMD_DELAY = .000020 ST7920_SYNC_DELAY = .000045 TextGlyphs = { 'right_arrow': '\x1a' } -CharGlyphs = { 'degrees': font8x14.VGA_FONT[0xf8] } +CharGlyphs = { 'degrees': bytearray(font8x14.VGA_FONT[0xf8]) } class ST7920: def __init__(self, config): |