'break' on non-multiple of 8 offsets leaves garbage data #2
Comments
|
I tried to decipher the functions from multiple documents. The company On Tue, Oct 11, 2016 at 9:27 AM, Andrew Jackson notifications@github.com
|
|
Yeah, i'll try patching serialosc to give me some logging to find out what's going on! I got a reply from tehn in the forum though, so i'm hopeful! :) |
|
Awesome, great work On Tue, Oct 11, 2016 at 7:27 PM, Andrew Jackson notifications@github.com
|
according to the spec as i understand it, the bulk-update commands that operate on 8x8 blocks can pass along x,y offsets that aren't actually multiples of 8. Right now, untz_monome will break if it sees those, leaving the remaining serial bytes specifying the data left in the buffer.
So, any 'break' in that switch statement can potentially leave junk in the incoming serial stream to foul up the next command.
this is based on my reading of http://monome.org/docs/serial.txt, which seems a little obtuse, but hey.
The text was updated successfully, but these errors were encountered: