summaryrefslogtreecommitdiff
path: root/cesar/cp/beacon/src/beacon.c
diff options
context:
space:
mode:
authorNélio Laranjeiro2010-11-24 10:11:17 +0100
committerNélio Laranjeiro2010-11-24 15:42:58 +0100
commite78ed7057d5a76db2d9f4b1cf525259bfe6ebcb2 (patch)
tree038f45b0b4d48fa7901673b5ff3cde47bd141450 /cesar/cp/beacon/src/beacon.c
parentf3348e6b0ad008c29a1980ded44f79ceabf37194 (diff)
cesar/cp/beacon: activate SPOC by default using a config item, closes #2075
Diffstat (limited to 'cesar/cp/beacon/src/beacon.c')
-rw-r--r--cesar/cp/beacon/src/beacon.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cesar/cp/beacon/src/beacon.c b/cesar/cp/beacon/src/beacon.c
index 47adf0060d..fb9de5f7c7 100644
--- a/cesar/cp/beacon/src/beacon.c
+++ b/cesar/cp/beacon/src/beacon.c
@@ -35,9 +35,11 @@
#include "hal/gpio/gpio.h"
#include "bsu/beacon/beacon.h"
#include "bsu/bsu.h"
+#include "config/beacon.h"
/** Default interval between SPOC updates. */
-#define CP_BEACON_SPOC_UPDATE_INTERVAL_DEFAULT_MS 0
+#define CP_BEACON_SPOC_UPDATE_INTERVAL_DEFAULT_MS \
+ CONFIG_BEACON_SPOC_UPDATE_INTERVAL_DEFAULT_MS
/** Timer expires.
* \param ctx the CP context.