Skip to content

Commit e3f28b4

Browse files
committed
Remove obsolete code
1 parent 7b7b2f1 commit e3f28b4

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

examples/ssd1680_2.13_mono_eink_bonnet.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,7 @@
5050

5151
with open("display-ruler.bmp", "rb") as f:
5252
pic = displayio.OnDiskBitmap(f)
53-
# CircuitPython 6 & 7 compatible
54-
t = displayio.TileGrid(
55-
pic, pixel_shader=getattr(pic, "pixel_shader", displayio.ColorConverter())
56-
)
57-
# CircuitPython 7 compatible only
58-
# t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
53+
t = displayio.TileGrid(pic, pixel_shader=pic.pixel_shader)
5954
g.append(t)
6055

6156
display.show(g)

0 commit comments

Comments
 (0)