more range, we have power
This commit is contained in:
parent
3b28df58da
commit
fd37296cdf
|
@ -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");
|
||||||
|
|
|
@ -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. */
|
||||||
|
|
Loading…
Reference in a new issue