From a8f8e1782413dccb3cf0714d0a9a27a83668311f Mon Sep 17 00:00:00 2001 From: gstellenberg Date: Fri, 29 May 2009 12:14:24 -0500 Subject: [PATCH] Added call to PRFlushWriteData at the end of each run loop. --- examples/pinproctest/pinproctest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/pinproctest/pinproctest.cpp b/examples/pinproctest/pinproctest.cpp index 1e368df..f06904f 100644 --- a/examples/pinproctest/pinproctest.cpp +++ b/examples/pinproctest/pinproctest.cpp @@ -375,6 +375,7 @@ void RunLoop(PRHandle proc) gettimeofday(&tv, NULL); printf("%d.%03d switch % 3d: %s\n", tv.tv_sec-startTime, tv.tv_usec/1000, event->value, stateText); } + PRFlushWriteData(proc); usleep(10*1000); // Sleep for 10ms so we aren't pegging the CPU. } }