Skip to content

Commit d2133e5

Browse files
Merge pull request #12 from jsymons/change_default
Change default
2 parents 3cabc01 + a93c339 commit d2133e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_is31fl3741/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ def pixel_addrs(x: int, y: int) -> Tuple[int, ...]:
293293
"""Calculate a device-specific LED offset for an X,Y 2D pixel."""
294294
raise NotImplementedError("Supported in subclasses only")
295295

296-
def fill(self, color: Optional[int] = None) -> None:
296+
def fill(self, color: int = 0) -> None:
297297
"""Set all pixels to a given RGB color.
298298
299299
:param color: Packed 24-bit color value (0xRRGGBB).

0 commit comments

Comments
 (0)