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

@ -11,14 +11,6 @@ BACKGROUND_PRIORITY_CLOCK = 0x7fffffff00000000
HD44780_DELAY = .000037
class HD44780:
char_right_arrow = '\x7e'
char_thermometer = '\x00'
char_heater_bed = '\x01'
char_speed_factor = '\x02'
char_clock = '\x03'
char_degrees = '\x04'
char_usb = '\x05'
char_sd = '\x06'
def __init__(self, config):
self.printer = config.get_printer()
# pin config