Test: Watchdog: Fix LP ticker preproc condition

pull/11773/head
Filip Jagodzinski 2019-10-28 12:33:10 +01:00
parent 7af11fa4b5
commit 2410257551
2 changed files with 4 additions and 4 deletions

View File

@ -178,7 +178,7 @@ void test_sleep_reset()
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected."); TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
} }
#if DEVICE_LOWPOWERTIMER #if DEVICE_LPTICKER
void test_deepsleep_reset() void test_deepsleep_reset()
{ {
// Phase 2. -- verify the test results. // Phase 2. -- verify the test results.
@ -335,7 +335,7 @@ Case cases[] = {
Case("Watchdog reset", case_setup, test_simple_reset), Case("Watchdog reset", case_setup, test_simple_reset),
#if DEVICE_SLEEP #if DEVICE_SLEEP
Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset), Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset),
#if DEVICE_LOWPOWERTIMER #if DEVICE_LPTICKER
Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset), Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset),
#endif #endif
#endif #endif

View File

@ -171,7 +171,7 @@ void test_sleep_reset()
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected."); TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
} }
#if DEVICE_LOWPOWERTIMER #if DEVICE_LPTICKER
void test_deepsleep_reset() void test_deepsleep_reset()
{ {
// Phase 2. -- verify the test results. // Phase 2. -- verify the test results.
@ -320,7 +320,7 @@ Case cases[] = {
Case("Watchdog reset", case_setup, test_simple_reset), Case("Watchdog reset", case_setup, test_simple_reset),
#if DEVICE_SLEEP #if DEVICE_SLEEP
Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset), Case("Watchdog reset in sleep mode", case_setup, test_sleep_reset),
#if DEVICE_LOWPOWERTIMER #if DEVICE_LPTICKER
Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset), Case("Watchdog reset in deepsleep mode", case_setup, test_deepsleep_reset),
#endif #endif
#endif #endif