Skip to content

Commit e4901cb

Browse files
committed
lint and fix comment
1 parent 90dc8d1 commit e4901cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

adafruit_framebuf.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,7 @@ def image(self, img):
282282
# Clear buffer
283283
for i in range(len(self.buf)):
284284
self.buf[i] = 0
285-
# Iterate through the memory pages
286-
index = 0
285+
# Iterate through the pixels
287286
for x in range(self.width): # yes this double loop is slow,
288287
for y in range(self.height): # but these displays are small!
289288
if pixels[(x, y)]:

0 commit comments

Comments
 (0)