Skip to content

Commit b2333ac

Browse files
committed
Comment
1 parent 411e3e8 commit b2333ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/interstate75/flight_display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ def display_flight_data(data):
227227
# line 2: flight number and distance
228228
display.set_pen(CYAN)
229229
display.text(f"{flight_number}", 2, 13, WIDTH, 1)
230-
flight_pixel_width = len(flight_number) * 6 # 6 is the character width
230+
flight_pixel_width = len(flight_number) * 6 # 6 is the character width for bitmap8
231231
display.set_pen(BLUE)
232232
display.text(f"{distance}{unit}", flight_pixel_width, 13, 100, 1)
233233

0 commit comments

Comments
 (0)