1
0
mirror of https://github.com/preble/libpinproc synced 2026-02-24 18:25:23 +01:00

switched residual dotPointer to dotOffset to fix compile error.

This commit is contained in:
gstellenberg
2009-05-25 01:20:48 -05:00
parent 4a47637d99
commit 179125367b

View File

@@ -234,7 +234,7 @@ void UpdateDots( unsigned char * dots, unsigned int dotOffset )
byte_shifter = 0x80; byte_shifter = 0x80;
// Slow it down just a tad // Slow it down just a tad
if (dotPointer%rate_reduction_divisor == 0) if (dotOffset%rate_reduction_divisor == 0)
{ {
// Set up byte_shifter to rotate pattern to the right. // Set up byte_shifter to rotate pattern to the right.
byte_shifter = pow(2,(loopCtr%8)); byte_shifter = pow(2,(loopCtr%8));