summaryrefslogtreecommitdiff
path: root/cesar/cp/beacon
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/cp/beacon')
-rw-r--r--cesar/cp/beacon/src/beacon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cesar/cp/beacon/src/beacon.c b/cesar/cp/beacon/src/beacon.c
index 7ae35ec1c0..34223e7942 100644
--- a/cesar/cp/beacon/src/beacon.c
+++ b/cesar/cp/beacon/src/beacon.c
@@ -501,7 +501,7 @@ cp_beacon_init (cp_t *ctx)
/* Setup beacon indicator. */
GPIO_SETUP (LED_BEACON_TX_RX, GPIO_DIRECTION_OUT);
GPIO_SET (LED_BEACON_TX_RX, 0);
- bsu_init_beacon_cb (CALLBACK (cp_beacon_receive), ctx);
+ bsu_init_beacon_cb (ctx->bsu, CALLBACK (cp_beacon_receive), ctx);
/* Store the current date for SPOC update coefficients. */
ctx->beacon.spoc_update_date = phy_date ();
/* Initialise tunable parameters. */