Enabled phase-lock only for channel check rates of 32 Hz or lower
This commit is contained in:
parent
3d28da8813
commit
affba785b5
1 changed files with 6 additions and 1 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: contikimac.c,v 1.46 2011/01/09 21:07:01 adamdunkels Exp $
|
||||
* $Id: contikimac.c,v 1.47 2011/01/18 16:03:19 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -73,6 +73,11 @@
|
|||
#define WITH_FAST_SLEEP 1
|
||||
#endif
|
||||
|
||||
#if NETSTACK_RDC_CHANNEL_CHECK_RATE >= 64
|
||||
#undef WITH_PHASE_OPTIMIZATION
|
||||
#define WITH_PHASE_OPTIMIZATION 0
|
||||
#endif
|
||||
|
||||
struct announcement_data {
|
||||
uint16_t id;
|
||||
uint16_t value;
|
||||
|
|
Loading…
Reference in a new issue