File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,15 +26,15 @@ Last Modified:
2626
2727
2828 /* ***define beVerbose to non-zero to print out messages that may be useful for debugging or understanding how the code runs ****/
29- #define beVerbose 1
29+ #define beVerbose 0
3030#if beVerbose
3131#include < stdio.h>
3232#endif
3333/* *************************************constants for timing methods: ***************************************************************/
3434const int ACC_MODE_SLEEPS = 0 ; // thread sleeps for duration of period
3535const int ACC_MODE_SLEEPS_AND_SPINS =1 ; // thread sleeps for period - kSLEEPTURNAROUND microseconds, then spins for remaining time
3636const int ACC_MODE_SLEEPS_AND_OR_SPINS =2 ; // sleep time is re-calculated for each duration, sleep is countermanded if thread is running late
37- const int kSLEEPTURNAROUND = 100 ; // how long, in microseconds, we aim to spin for the end of pulse timing in accuracy levels 1 and 2
37+ const int kSLEEPTURNAROUND = 200 ; // how long, in microseconds, we aim to spin for the end of pulse timing in accuracy levels 1 and 2
3838
3939/* ***********************************constants for different task modes ************************************************************************/
4040const int kPULSE = 1 ; // waits for delay, calls hiFunc, waits for duration, calls low func
You can’t perform that action at this time.
0 commit comments