mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-14 17:13:50 +01:00
Revert "sys/pm_layered: pm_(un)block add attribute optimize(3) -shortens hotpath"
This reverts commit 5447203921ab39962d7d378a631a6bc048e7f30b.
This commit is contained in:
parent
9ff9704fe5
commit
571026d394
@ -74,7 +74,6 @@ void pm_set_lowest(void)
|
||||
irq_restore(state);
|
||||
}
|
||||
|
||||
__attribute__((optimize(3)))
|
||||
void pm_block(unsigned mode)
|
||||
{
|
||||
DEBUG("[pm_layered] pm_block(%d)\n", mode);
|
||||
@ -85,7 +84,6 @@ void pm_block(unsigned mode)
|
||||
irq_restore(state);
|
||||
}
|
||||
|
||||
__attribute__((optimize(3)))
|
||||
void pm_unblock(unsigned mode)
|
||||
{
|
||||
DEBUG("[pm_layered] pm_unblock(%d)\n", mode);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user