Skip to content

Commit 3db43b3

Browse files
committed
Break too-long line
1 parent 3befa99 commit 3db43b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_framebuf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,8 +134,8 @@ class RGB565Format:
134134

135135
@staticmethod
136136
def color_to_rgb565(color):
137-
"""Convert a color in either tuple or 24 bit integer form to RGB565, and return as two bytes
138-
"""
137+
"""Convert a color in either tuple or 24 bit integer form to RGB565,
138+
and return as two bytes"""
139139
if isinstance(color, tuple):
140140
hibyte = (color[0] & 0xF8) | (color[1] >> 5)
141141
lobyte = ((color[1] << 5) & 0xE0) | (color[2] >> 3)

0 commit comments

Comments
 (0)