Skip to content

Commit f589eb8

Browse files
committed
changed constants in header for testing
1 parent 0d99116 commit f589eb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pulsedThread.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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: ***************************************************************/
3434
const int ACC_MODE_SLEEPS = 0; // thread sleeps for duration of period
3535
const int ACC_MODE_SLEEPS_AND_SPINS =1; //thread sleeps for period - kSLEEPTURNAROUND microseconds, then spins for remaining time
3636
const 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 ************************************************************************/
4040
const int kPULSE= 1; // waits for delay, calls hiFunc, waits for duration, calls low func

0 commit comments

Comments
 (0)