summaryrefslogtreecommitdiff
path: root/cesar/bsu/src/bsu.c
diff options
context:
space:
mode:
Diffstat (limited to 'cesar/bsu/src/bsu.c')
-rw-r--r--cesar/bsu/src/bsu.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/cesar/bsu/src/bsu.c b/cesar/bsu/src/bsu.c
index ec5a3e7353..4ef5012ebd 100644
--- a/cesar/bsu/src/bsu.c
+++ b/cesar/bsu/src/bsu.c
@@ -970,10 +970,11 @@ bsu_init (bsu_aclf_t *aclf, mac_config_t *mac_config, phy_t *phy,
ctx->poweron.beacon.vf.nm = MAC_NM_CSMA_ONLY;
bsu_ntb_init (&ctx->poweron.sync);
/* Initialise the SAR callback. */
- sar_init_beacon_cb (sar, ctx, (sar_beacon_cb_t) bsu_beacon_recv);
+ sar_init_beacon_cb (
+ sar, ctx, (sar_beacon_cb_t) CALLBACK (bsu_beacon_recv));
/* Initialise timer events. */
- hal_timer_instance_init (timer, &ctx->timer, ctx,
- bsu_timer_event_process);
+ hal_timer_instance_init (
+ timer, &ctx->timer, ctx, CALLBACK (bsu_timer_event_process));
ctx->activate = false;
ctx->is_sta = BSU_UPDATE_STA_TYPE_STA;
for (i = 0; i < COUNT (ctx->mfs_beacons); i++)