mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-08-05 13:04:05 -06:00
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:
parent
c8d9d575a1
commit
30a49d3186
4 changed files with 20 additions and 23 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue