Skip to content

Commit

Permalink
Use 1.0 rather than 0.99.
Browse files Browse the repository at this point in the history
  • Loading branch information
tannewt committed Sep 12, 2017
1 parent 88fb096 commit 396e1a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adafruit_dotstar.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ def show(self):
it may be done asynchronously."""
# Create a second output buffer if we need to compute brightness
buf = self.buf
if self.brightness < 0.99:
if self.brightness < 1.0:
buf = bytearray(self.n * 4 + self.start_header + self.end_header)
# Four empty bytes to start.
for i in range(self.start_header):
Expand Down

0 comments on commit 396e1a8

Please sign in to comment.