all: Fix cases of Python variable assigned but never used.

This fixes ruff rule F841.
This commit is contained in:
Christian Clauss
2023-03-10 07:33:32 +01:00
committed by Damien George
parent 79e57473b2
commit 2a1db770ce
11 changed files with 10 additions and 17 deletions

View File

@@ -216,8 +216,6 @@ class ILI9341:
self.write_cmd(0x2C)
num_of_pixels = self.height * self.width
for row in range(0, self.pages):
for pixel_pos in range(0, 8):
for col in range(0, self.width):