diff options
Diffstat (limited to 'tests/jittertest/JitterTest.c')
-rw-r--r-- | tests/jittertest/JitterTest.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/jittertest/JitterTest.c b/tests/jittertest/JitterTest.c index 4627fb0..e109995 100644 --- a/tests/jittertest/JitterTest.c +++ b/tests/jittertest/JitterTest.c @@ -591,12 +591,12 @@ void AlarmHandler( /* Store some historical #'s */ - if(abs(timeDiffusec) > LastMaxDiff) + if(labs(timeDiffusec) > LastMaxDiff) { - LastMaxDiff = abs(timeDiffusec); + LastMaxDiff = labs(timeDiffusec); sprintf(&tmpBuf[strlen(tmpBuf)],"!"); - if((GrabKProfile == TRUE) && (ProfileTriggerMSecs < (abs(timeDiffusec)/1000))) + if((GrabKProfile == TRUE) && (ProfileTriggerMSecs < (labs(timeDiffusec)/1000))) { sprintf(profileFileName, "JitterTest.profilesnap-%i", profileFileNo); |