From 2410257551ec7d4d752b41149f0d093af5d1a7f2 Mon Sep 17 00:00:00 2001 From: Filip Jagodzinski Date: Mon, 28 Oct 2019 12:33:10 +0100 Subject: [PATCH] Test: Watchdog: Fix LP ticker preproc condition --- TESTS/mbed_drivers/watchdog_reset/main.cpp | 4 ++-- TESTS/mbed_hal/watchdog_reset/main.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/TESTS/mbed_drivers/watchdog_reset/main.cpp b/TESTS/mbed_drivers/watchdog_reset/main.cpp index 530afba7fc..b02e458cf0 100644 --- a/TESTS/mbed_drivers/watchdog_reset/main.cpp +++ b/TESTS/mbed_drivers/watchdog_reset/main.cpp @@ -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 diff --git a/TESTS/mbed_hal/watchdog_reset/main.cpp b/TESTS/mbed_hal/watchdog_reset/main.cpp index 0d273b70ad..2ac592a3be 100644 --- a/TESTS/mbed_hal/watchdog_reset/main.cpp +++ b/TESTS/mbed_hal/watchdog_reset/main.cpp @@ -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