aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/display/display.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/display/display.py')
-rw-r--r--klippy/extras/display/display.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/klippy/extras/display/display.py b/klippy/extras/display/display.py
index d3db32a3..bd34f4c5 100644
--- a/klippy/extras/display/display.py
+++ b/klippy/extras/display/display.py
@@ -226,6 +226,7 @@ class PrinterLCD:
else:
# write glyph
pos += self.lcd_chip.write_glyph(pos, row, text)
+ return pos
def draw_progress_bar(self, row, col, width, value):
pixels = -1 << int(width * 8 * (1. - value) + .5)
pixels |= (1 << (width * 8 - 1)) | 1