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