Skip to content

Commit a8234f4

Browse files
tekktrikdhalbert
andauthored
Remove int() usage
Co-authored-by: Dan Halbert <halbert@halwitz.org>
1 parent 0a6dbd7 commit a8234f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_displayio_ssd1306.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ def sleep(self):
105105
active prior to sleeping. MP can access (update) the built-in display RAM.
106106
"""
107107
if self._is_awake:
108-
self.bus.send(int(0xAE), b"") # 0xAE = display off, sleep mode
108+
self.bus.send(0xAE, b"") # 0xAE = display off, sleep mode
109109
self._is_awake = False
110110

111111
def wake(self):

0 commit comments

Comments
 (0)