mirror of https://github.com/ARMmbed/mbed-os.git
Test: Watchdog: Fix LP ticker preproc condition
parent
7af11fa4b5
commit
2410257551
|
|
@ -178,7 +178,7 @@ void test_sleep_reset()
|
|||
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
|
||||
}
|
||||
|
||||
#if DEVICE_LOWPOWERTIMER
|
||||
#if DEVICE_LPTICKER
|
||||
void test_deepsleep_reset()
|
||||
{
|
||||
// Phase 2. -- verify the test results.
|
||||
|
|
@ -335,7 +335,7 @@ Case cases[] = {
|
|||
Case("Watchdog reset", case_setup, test_simple_reset),
|
||||
#if DEVICE_SLEEP
|
||||
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),
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -171,7 +171,7 @@ void test_sleep_reset()
|
|||
TEST_ASSERT_MESSAGE(0, "Watchdog did not reset the device as expected.");
|
||||
}
|
||||
|
||||
#if DEVICE_LOWPOWERTIMER
|
||||
#if DEVICE_LPTICKER
|
||||
void test_deepsleep_reset()
|
||||
{
|
||||
// Phase 2. -- verify the test results.
|
||||
|
|
@ -320,7 +320,7 @@ Case cases[] = {
|
|||
Case("Watchdog reset", case_setup, test_simple_reset),
|
||||
#if DEVICE_SLEEP
|
||||
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),
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in New Issue