diff --git a/library/lcd/lcd_comm.py b/library/lcd/lcd_comm.py index ee6bd293..5b702772 100644 --- a/library/lcd/lcd_comm.py +++ b/library/lcd/lcd_comm.py @@ -378,7 +378,7 @@ def DisplayProgressBar(self, x: int, y: int, width: int, height: int, min_value: if reverse_direction is True: x1 = width - bar_filled_width else: - x1 = bar_filled_width + x2 = bar_filled_width else: if reverse_direction is True: y2 = height - bar_filled_height