From fd37296cdff28a5c9f8c444bc867d3d70bb7dbc5 Mon Sep 17 00:00:00 2001 From: Harald Pichler Date: Mon, 17 Oct 2016 08:22:38 +0200 Subject: [PATCH] more range, we have power --- examples/osd/powerbox/er-example-server.c | 2 +- examples/osd/powerbox/project-conf.h | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/examples/osd/powerbox/er-example-server.c b/examples/osd/powerbox/er-example-server.c index 09259b075..a8bb8a56d 100644 --- a/examples/osd/powerbox/er-example-server.c +++ b/examples/osd/powerbox/er-example-server.c @@ -368,7 +368,7 @@ PROCESS_THREAD(rest_server_example, ev, data) hw_init(); /* Initialize the REST engine. */ rest_init_engine(); - + NETSTACK_MAC.off(1); /* Activate the application-specific resources. */ #if REST_RES_INFO rest_activate_resource(&res_info, "info"); diff --git a/examples/osd/powerbox/project-conf.h b/examples/osd/powerbox/project-conf.h index b1410c36c..03559c1bb 100644 --- a/examples/osd/powerbox/project-conf.h +++ b/examples/osd/powerbox/project-conf.h @@ -36,8 +36,9 @@ #define PLATFORM_HAS_RELAY 1 #define PLATFORM_HAS_BATTERY 1 -/* Some platforms have weird includes. */ -#undef IEEE802154_CONF_PANID +/* For Debug: Dont allow MCU sleeping between channel checks */ +#undef RDC_CONF_MCU_SLEEP +#define RDC_CONF_MCU_SLEEP 0 /* Disabling RDC for demo purposes. Core updates often require more memory. */ /* For projects, optimize memory and enable RDC again. */