1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 01:53:51 +01:00

Merge pull request #13229 from nmeum/pr/hifive_link_fix

fe310: fix power management configuration
This commit is contained in:
Alexandre Abadie 2020-01-30 11:23:37 +01:00 committed by GitHub
commit 596d02387f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 4 deletions

View File

@ -27,6 +27,13 @@
extern "C" {
#endif
/**
* @name Power management configuration
* @{
*/
#define PROVIDES_PM_SET_LOWEST
/** @} */
/**
* @brief Length of the CPU_ID in octets
*/

View File

@ -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;