Skip to content

Commit

Permalink
tests-mbed_hal-common_tickers: increase overflow protection limit
Browse files Browse the repository at this point in the history
For NR51_DK US_TICKER_OV_LIMIT needs to be increased since if test is run few times in row sometimes fails. This is because NR51_DK is a slow board (16 MHz) with fast and short us ticker counter 1 MHz/16 bits.
  • Loading branch information
mprse committed Apr 23, 2018
1 parent b832022 commit de4bcba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TESTS/mbed_hal/common_tickers/main.cpp
Expand Up @@ -40,7 +40,7 @@

#define NUM_OF_CYCLES 100000

#define US_TICKER_OV_LIMIT 20000
#define US_TICKER_OV_LIMIT 35000
#define LP_TICKER_OV_LIMIT 4000

using namespace utest::v1;
Expand Down

0 comments on commit de4bcba

Please sign in to comment.