42c287f363
lpm.c needs to #include lpm.h in order to get the definition of lpm_periph_permit_pm1_func_t, which made the replacement macros conflict with the function definitions for the LPM_CONF_ENABLE == 0 case. This change fixes this issue by #if-ing out the code in lpm.c in that case. Also, the replacement macro for lpm_register_peripheral() was missing in that case, which is fixed here. Signed-off-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com> |
||
---|---|---|
.. | ||
6502 | ||
arm | ||
avr | ||
cc253x | ||
cc2430 | ||
cc2538 | ||
mc1322x | ||
msp430 | ||
native | ||
pic32 | ||
rl78 | ||
stm32w108 | ||
x86 |