From cf8ed3fe2dfb2e5f569e1dbb3fd19c2673bd4b53 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 13 Oct 2015 08:47:09 -0400 Subject: quest debug --- main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'main.cpp') diff --git a/main.cpp b/main.cpp index 386d419..6e10420 100644 --- a/main.cpp +++ b/main.cpp @@ -134,9 +134,9 @@ static float debugY=0; void mainLoop(void){ static unsigned int debugDiv=0; - unsigned int i, - prevTime = 0, - currentTime = 0; + unsigned int i; + static unsigned int prevTime = 0, + currentTime = 0; if(!currentTime)currentTime=millis(); prevTime = currentTime; -- cgit v1.2.3