simplify project-conf.h

This commit is contained in:
harald 2014-04-14 17:18:30 +02:00
parent f9d67ed10c
commit f77717158d
2 changed files with 16 additions and 6 deletions

View file

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

View file

@ -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 */