Skip to content

Commit d792ac6

Browse files
authored
Appeasing the linter
1 parent b6d319f commit d792ac6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_st7565.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,9 @@ def show(self):
149149
# Set page
150150
self.write_cmd(self.CMD_SET_PAGE | self.pagemap[page])
151151
# Set lower bits of column
152-
self.write_cmd(self.CMD_SET_COLUMN_LOWER | (0+self.start_bytes & 0xF))
152+
self.write_cmd(self.CMD_SET_COLUMN_LOWER | (0 + self.start_bytes & 0xF))
153153
# Set upper bits of column
154-
self.write_cmd(self.CMD_SET_COLUMN_UPPER | ((0+self.start_bytes >> 4) & 0xF))
154+
self.write_cmd(self.CMD_SET_COLUMN_UPPER | ((0 + self.start_bytes >> 4) & 0xF))
155155

156156
# Page start row
157157
row_start = page << 7

0 commit comments

Comments
 (0)