more range, we have power

This commit is contained in:
Harald Pichler 2016-10-17 08:22:38 +02:00
parent 3b28df58da
commit fd37296cdf
2 changed files with 4 additions and 3 deletions

View file

@ -368,7 +368,7 @@ PROCESS_THREAD(rest_server_example, ev, data)
hw_init(); hw_init();
/* Initialize the REST engine. */ /* Initialize the REST engine. */
rest_init_engine(); rest_init_engine();
NETSTACK_MAC.off(1);
/* Activate the application-specific resources. */ /* Activate the application-specific resources. */
#if REST_RES_INFO #if REST_RES_INFO
rest_activate_resource(&res_info, "info"); rest_activate_resource(&res_info, "info");

View file

@ -36,8 +36,9 @@
#define PLATFORM_HAS_RELAY 1 #define PLATFORM_HAS_RELAY 1
#define PLATFORM_HAS_BATTERY 1 #define PLATFORM_HAS_BATTERY 1
/* Some platforms have weird includes. */ /* For Debug: Dont allow MCU sleeping between channel checks */
#undef IEEE802154_CONF_PANID #undef RDC_CONF_MCU_SLEEP
#define RDC_CONF_MCU_SLEEP 0
/* Disabling RDC for demo purposes. Core updates often require more memory. */ /* Disabling RDC for demo purposes. Core updates often require more memory. */
/* For projects, optimize memory and enable RDC again. */ /* For projects, optimize memory and enable RDC again. */