simplify project-conf.h
This commit is contained in:
parent
f9d67ed10c
commit
f77717158d
2 changed files with 16 additions and 6 deletions
|
@ -44,6 +44,22 @@
|
|||
#include "contiki-net.h"
|
||||
|
||||
|
||||
#ifdef OSDPLUG
|
||||
//#define PLATFORM_HAS_LEDS 1
|
||||
//#define PLATFORM_HAS_BUTTON 1
|
||||
#define PLATFORM_HAS_OPTRIAC 1
|
||||
#define PLATFORM_HAS_TEMPERATURE 1
|
||||
#define PLATFORM_HAS_BATTERY 1
|
||||
#endif
|
||||
|
||||
#if (defined (OSDLIGHT) || defined (OSDSHUTTER))
|
||||
#define PLATFORM_HAS_LEDS 1
|
||||
#define PLATFORM_HAS_BUTTON 1
|
||||
#define PLATFORM_HAS_OPTRIAC 1
|
||||
#define PLATFORM_HAS_TEMPERATURE 1
|
||||
#define PLATFORM_HAS_BATTERY 1
|
||||
#endif
|
||||
|
||||
/* Define which resources to include to meet memory constraints. */
|
||||
#define REST_RES_INFO 1
|
||||
#define REST_RES_OPTRIAC 1
|
||||
|
|
|
@ -37,12 +37,6 @@
|
|||
//#define OSDSHUTTER
|
||||
|
||||
|
||||
//#define PLATFORM_HAS_LEDS 1
|
||||
//#define PLATFORM_HAS_BUTTON 1
|
||||
#define PLATFORM_HAS_OPTRIAC 1
|
||||
#define PLATFORM_HAS_TEMPERATURE 1
|
||||
#define PLATFORM_HAS_BATTERY 1
|
||||
|
||||
#define SICSLOWPAN_CONF_FRAG 1
|
||||
|
||||
/* For Debug: Dont allow MCU sleeping between channel checks */
|
||||
|
|
Loading…
Reference in a new issue