summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cesar/cp/beacon/Config1
-rw-r--r--cesar/cp/beacon/src/beacon.c4
2 files changed, 4 insertions, 1 deletions
diff --git a/cesar/cp/beacon/Config b/cesar/cp/beacon/Config
index e1b413d673..876dd03ed0 100644
--- a/cesar/cp/beacon/Config
+++ b/cesar/cp/beacon/Config
@@ -1,2 +1,3 @@
CONFIG_GPIO_LED_BEACON_TX_RX = n
CONFIG_GPIO_LED_BEACON_TX_RX_GPIO = 0
+CONFIG_BEACON_SPOC_UPDATE_INTERVAL_DEFAULT_MS = 400
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.