From bd2f5fe110323c38408243c47bbbdb98fe8ca547 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Thu, 30 Jan 2020 10:43:01 +0100 Subject: [PATCH] fe310: fix power management configuration --- cpu/fe310/include/periph_cpu.h | 7 +++++++ cpu/fe310/periph/pm.c | 4 ---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/cpu/fe310/include/periph_cpu.h b/cpu/fe310/include/periph_cpu.h index 6c44f875c6..c944f9ee39 100644 --- a/cpu/fe310/include/periph_cpu.h +++ b/cpu/fe310/include/periph_cpu.h @@ -27,6 +27,13 @@ extern "C" { #endif +/** + * @name Power management configuration + * @{ + */ +#define PROVIDES_PM_SET_LOWEST +/** @} */ + /** * @brief Length of the CPU_ID in octets */ diff --git a/cpu/fe310/periph/pm.c b/cpu/fe310/periph/pm.c index 0e49f68694..6576820f7f 100644 --- a/cpu/fe310/periph/pm.c +++ b/cpu/fe310/periph/pm.c @@ -26,10 +26,6 @@ void pm_set_lowest(void) __asm__ volatile ("wfi"); } -void pm_off(void) -{ -} - void pm_reboot(void) { AON_REG(AON_WDOGKEY) = AON_WDOGKEY_VALUE;