optimize power consumtion
This commit is contained in:
parent
6a2d13216a
commit
c42a75d9d6
3 changed files with 10 additions and 5 deletions
|
@ -36,10 +36,15 @@
|
|||
#define PLATFORM_HAS_BUTTON 1
|
||||
#define PLATFORM_HAS_BATTERY 1
|
||||
|
||||
#define LOOP_INTERVAL (10 * CLOCK_SECOND)
|
||||
|
||||
/* For Debug: Dont allow MCU sleeping between channel checks */
|
||||
//#undef RDC_CONF_MCU_SLEEP
|
||||
//#define RDC_CONF_MCU_SLEEP 0
|
||||
|
||||
/* Save energy */
|
||||
//#define RDC_CONF_PT_YIELD_OFF
|
||||
|
||||
/* Disabling RDC for demo purposes. Core updates often require more memory. */
|
||||
/* For projects, optimize memory and enable RDC again. */
|
||||
//#undef NETSTACK_CONF_RDC
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue