forked from espressif/esp-idf
Merge branch 'fix/gptimer_test_failure' into 'release/v5.1'
fix(gptimer): fix test failure when pm enabled See merge request espressif/esp-idf!38979
This commit is contained in:
@@ -299,7 +299,7 @@ TEST_ALARM_CALLBACK_ATTR static bool test_gptimer_alarm_normal_callback(gptimer_
|
|||||||
* Also should account for the inaccuracy of the systick during DFS.
|
* Also should account for the inaccuracy of the systick during DFS.
|
||||||
*/
|
*/
|
||||||
#if CONFIG_PM_ENABLE
|
#if CONFIG_PM_ENABLE
|
||||||
#define GPTIMER_ONE_SHOT_ALARM_COUNT_DELTA 15000
|
#define GPTIMER_ONE_SHOT_ALARM_COUNT_DELTA 50000
|
||||||
#else
|
#else
|
||||||
#define GPTIMER_ONE_SHOT_ALARM_COUNT_DELTA 1000
|
#define GPTIMER_ONE_SHOT_ALARM_COUNT_DELTA 1000
|
||||||
#endif // CONFIG_PM_ENABLE
|
#endif // CONFIG_PM_ENABLE
|
||||||
|
Reference in New Issue
Block a user