Skip to content

Commit aca726d

Browse files
author
Arto Kinnunen
authored
Merge pull request #11022 from OpenNuvoton/nuvoton_wdt-test-oom
Fix watchdog tests failing with OOM
2 parents 5c45fa7 + 81dd2aa commit aca726d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

TESTS/mbed_drivers/watchdog/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ using utest::v1::Harness;
6868

6969
using namespace mbed;
7070

71-
Thread wdg_kicking_thread;
71+
Thread wdg_kicking_thread(osPriorityNormal, 768);
7272
Semaphore kick_wdg_during_test_teardown(0, 1);
7373

7474
void wdg_kicking_thread_fun()

TESTS/mbed_hal/watchdog/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ using utest::v1::Harness;
6969

7070
const watchdog_config_t WDG_CONFIG_DEFAULT = { .timeout_ms = WDG_TIMEOUT_MS };
7171

72-
Thread wdg_kicking_thread;
72+
Thread wdg_kicking_thread(osPriorityNormal, 768);
7373
Semaphore kick_wdg_during_test_teardown(0, 1);
7474

7575
void wdg_kicking_thread_fun()

0 commit comments

Comments
 (0)