display: Use write_glyph() when writing special characters

Always use the write_glyph() method when writing special characters
during status screen updates.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2018-09-20 13:01:51 -04:00 committed by KevinOConnor
parent c8d9d575a1
commit 30a49d3186
4 changed files with 20 additions and 23 deletions

View file

@ -15,7 +15,6 @@ ST7920_SYNC_DELAY = .000045
TextGlyphs = { 'right_arrow': '\x1a' }
class ST7920:
char_right_arrow = '\x1a'
def __init__(self, config):
printer = config.get_printer()
# pin config