From 179125367b6e273a6bf881590e2200add88bb2e6 Mon Sep 17 00:00:00 2001 From: gstellenberg Date: Mon, 25 May 2009 01:20:48 -0500 Subject: [PATCH] switched residual dotPointer to dotOffset to fix compile error. --- examples/pinproctest/pinproctest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pinproctest/pinproctest.cpp b/examples/pinproctest/pinproctest.cpp index 52e3afc..5249554 100644 --- a/examples/pinproctest/pinproctest.cpp +++ b/examples/pinproctest/pinproctest.cpp @@ -234,7 +234,7 @@ void UpdateDots( unsigned char * dots, unsigned int dotOffset ) byte_shifter = 0x80; // 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. byte_shifter = pow(2,(loopCtr%8));