diff options
Diffstat (limited to 'klippy/extras/display')
-rw-r--r-- | klippy/extras/display/display.py | 7 | ||||
-rw-r--r-- | klippy/extras/display/hd44780_spi.py | 1 | ||||
-rw-r--r-- | klippy/extras/display/menu.py | 6 | ||||
-rw-r--r-- | klippy/extras/display/st7920.py | 1 | ||||
-rw-r--r-- | klippy/extras/display/uc1701.py | 1 |
5 files changed, 13 insertions, 3 deletions
diff --git a/klippy/extras/display/display.py b/klippy/extras/display/display.py index c381cf09..be11ac43 100644 --- a/klippy/extras/display/display.py +++ b/klippy/extras/display/display.py @@ -5,8 +5,11 @@ # Copyright (C) 2018 Eric Callahan <arksine.code@gmail.com> # # This file may be distributed under the terms of the GNU GPLv3 license. -import logging, os, ast -from . import aip31068_spi, hd44780, hd44780_spi, st7920, uc1701, menu +import ast +import logging +import os + +from . import aip31068_spi, hd44780, hd44780_spi, menu, st7920, uc1701 # Normal time between each screen redraw REDRAW_TIME = 0.500 diff --git a/klippy/extras/display/hd44780_spi.py b/klippy/extras/display/hd44780_spi.py index dd46acd3..98a0c48d 100644 --- a/klippy/extras/display/hd44780_spi.py +++ b/klippy/extras/display/hd44780_spi.py @@ -6,6 +6,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging + from .. import bus LINE_LENGTH_DEFAULT = 20 diff --git a/klippy/extras/display/menu.py b/klippy/extras/display/menu.py index 717b6084..230b9f97 100644 --- a/klippy/extras/display/menu.py +++ b/klippy/extras/display/menu.py @@ -4,8 +4,12 @@ # Copyright (C) 2020 Janar Sööt <janar.soot@gmail.com> # # This file may be distributed under the terms of the GNU GPLv3 license. -import os, logging, ast, re +import ast +import logging +import os +import re from string import Template + from . import menu_keys diff --git a/klippy/extras/display/st7920.py b/klippy/extras/display/st7920.py index 9411a064..624d180b 100644 --- a/klippy/extras/display/st7920.py +++ b/klippy/extras/display/st7920.py @@ -4,6 +4,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging + from .. import bus from . import font8x14 diff --git a/klippy/extras/display/uc1701.py b/klippy/extras/display/uc1701.py index 7d4e4683..3129b7bc 100644 --- a/klippy/extras/display/uc1701.py +++ b/klippy/extras/display/uc1701.py @@ -5,6 +5,7 @@ # # This file may be distributed under the terms of the GNU GPLv3 license. import logging + from .. import bus from . import font8x14 |