From 808a2498624e8e6bb5a27b79628123fab367e063 Mon Sep 17 00:00:00 2001 From: Harald Pichler Date: Wed, 23 Jan 2013 09:20:11 +0100 Subject: [PATCH] add battery sensor --- examples/osd/er-rest-example-dht11/er-example-server.c | 2 +- examples/osd/er-rest-example-dht11/project-conf.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/osd/er-rest-example-dht11/er-example-server.c b/examples/osd/er-rest-example-dht11/er-example-server.c index 051bc28ac..3eac87b8a 100644 --- a/examples/osd/er-rest-example-dht11/er-example-server.c +++ b/examples/osd/er-rest-example-dht11/er-example-server.c @@ -58,7 +58,7 @@ #define REST_RES_LEDS 0 #define REST_RES_TOGGLE 0 #define REST_RES_LIGHT 0 -#define REST_RES_BATTERY 0 +#define REST_RES_BATTERY 1 #define REST_RES_RADIO 0 diff --git a/examples/osd/er-rest-example-dht11/project-conf.h b/examples/osd/er-rest-example-dht11/project-conf.h index 76558fdd5..dcbd00805 100644 --- a/examples/osd/er-rest-example-dht11/project-conf.h +++ b/examples/osd/er-rest-example-dht11/project-conf.h @@ -36,7 +36,7 @@ //#define PLATFORM_HAS_BUTTON 1 //#define PLATFORM_HAS_LIGHT 1 #define PLATFORM_HAS_TEMPERATURE 1 -//#define PLATFORM_HAS_BATTERY 1 +#define PLATFORM_HAS_BATTERY 1 //#define PLATFORM_HAS_SHT11 1 #define SICSLOWPAN_CONF_FRAG 1