Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix-timer-sdk #564

Merged
merged 10 commits into from
Sep 5, 2024
Prev Previous commit
Update main.c (realxed error tolerance)
  • Loading branch information
FrancescoPoluzzi authored Aug 26, 2024
commit a1fc25241a898e0261b4bb19848d6e320683bbec
4 changes: 2 additions & 2 deletions sw/applications/example_timer_sdk/main.c
Original file line number Diff line number Diff line change
@@ -21,7 +21,7 @@

/* Error tolerances for the tests. */
#define CYCLE_TOLERANCE 2 // cycles tolerance for simple timer reads
#define INTERRUPT_TOLERANCE 60 // cycles tolerance for timer interrupt
#define INTERRUPT_TOLERANCE 70 // cycles tolerance for timer interrupt
#define TIMER_WAIT_TOLERANCE 20 // milliseconds tolerance for timer wait

#if TARGET_SIM && PRINTF_IN_SIM
@@ -123,4 +123,4 @@ int main(){

FrancescoPoluzzi marked this conversation as resolved.
Show resolved Hide resolved
PRINTF("All tests passed\n\r");
return EXIT_SUCCESS;
}
}
Loading