Skip to content

Commit

Permalink
rename all display backends to backend
Browse files Browse the repository at this point in the history
  • Loading branch information
Anomalocaridid committed Jan 28, 2024
1 parent 812dc88 commit aaa03a3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion kmk/extensions/display/builtin.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

# Intended for displays with drivers built into CircuitPython
# that can be used directly without manual initialization
class BuiltInDisplay(DisplayBackend):
class backend(DisplayBackend):
def __init__(self, display=None, sleep_command=None, wake_command=None):
self.display = display
self.sleep_command = sleep_command
Expand Down
2 changes: 1 addition & 1 deletion kmk/extensions/display/sh1106.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
displayio.release_displays()


class SH1106(DisplayBackend):
class backend(DisplayBackend):
def __init__(
self,
spi=None,
Expand Down
2 changes: 1 addition & 1 deletion kmk/extensions/display/ssd1306.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
displayio.release_displays()


class SSD1306(DisplayBackend):
class backend(DisplayBackend):
def __init__(self, i2c=None, sda=None, scl=None, device_address=0x3C):
self.device_address = device_address
# i2c initialization
Expand Down

0 comments on commit aaa03a3

Please sign in to comment.