The official git repository for OSD-Contiki, the open source OS for the Internet of Things
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> |
||
---|---|---|
apps | ||
core | ||
cpu | ||
doc | ||
examples | ||
platform | ||
regression-tests | ||
tools | ||
.gitignore | ||
.gitmodules | ||
.travis.yml | ||
LICENSE | ||
Makefile.include | ||
README-BUILDING.md | ||
README-EXAMPLES.md | ||
README.md |
The Contiki Operating System
Contiki is an open source operating system that runs on tiny low-power microcontrollers and makes it possible to develop applications that make efficient use of the hardware while providing standardized low-power wireless communication for a range of hardware platforms.
Contiki is used in numerous commercial and non-commercial systems, such as city sound monitoring, street lights, networked electrical power meters, industrial monitoring, radiation monitoring, construction site monitoring, alarm systems, remote house monitoring, and so on.
For more information, see the Contiki website: