Skip to content

Commit a1ff1e1

Browse files
committed
i <3 linting
1 parent 52c3a31 commit a1ff1e1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

TFT_Gizmo_Candy_Hearts/candy_heart_ble.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
group.append(line2)
5353
display.show(group)
5454

55-
def update_heart(message, color):
55+
def update_heart(message, heart_color):
5656
# turn off auto refresh while we change some things
5757
display.auto_refresh = False
5858
# set message text
@@ -63,7 +63,7 @@ def update_heart(message, color):
6363
line1.anchored_position = (120, 85)
6464
line2.anchored_position = (120, 175)
6565
# set heart color
66-
palette[1] = color
66+
palette[1] = heart_color
6767
# OK, now turn auto refresh back on to display
6868
display.auto_refresh = True
6969

0 commit comments

Comments
 (0)