Skip to content

Commit 1f552b2

Browse files
author
Thomas Preston
committed
Fixed a bug with colourtail using the new set_bulk.
1 parent a2e4f30 commit 1f552b2

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

CHANGELOG

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
Change Log
22
==========
33

4+
v0.7.2
5+
------
6+
- Fixed a bug with colourtail using the new set_bulk.
7+
48
v0.7.1
59
------
610
- Fixed a bug with set_bulk and updated tests.

codebug_tether/colourtail.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,6 @@ def update(self):
8585
for pixel in self.pixel_buffer[:PIXEL_BUFFER_SIZE]
8686
for value in (pixel.green, pixel.red, pixel.blue)]
8787
control = COLOURTAIL_CONTROL_GO_BUSY
88-
self.codebug.set_buffer(0, codebug_buffer)
88+
self.codebug.set_buffer(0, bytes(codebug_buffer))
8989
self.codebug.set_bulk(CHANNEL_INDEX_COLOURTAIL_LENGTH,
90-
(len(self.pixel_buffer), control))
90+
bytes((len(self.pixel_buffer), control)))

codebug_tether/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = '0.7.1'
1+
__version__ = '0.7.2'

0 commit comments

Comments
 (0)