summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/layer1/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/firmware/layer1/init.c')
-rw-r--r--src/target/firmware/layer1/init.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/target/firmware/layer1/init.c b/src/target/firmware/layer1/init.c
index c00d09fb..7af327eb 100644
--- a/src/target/firmware/layer1/init.c
+++ b/src/target/firmware/layer1/init.c
@@ -38,9 +38,6 @@
void layer1_init(void)
{
- struct msgb *msg;
- struct l1ctl_reset *res;
-
#ifndef CONFIG_TX_ENABLE
printf("\n\nTHIS FIRMWARE WAS COMPILED WITHOUT TX SUPPORT!!!\n\n");
#endif
@@ -73,8 +70,5 @@ void layer1_init(void)
irq_disable(IRQ_RTC_TIMER);
/* inform l2 and upwards that we are ready for orders */
- msg = l1_create_l2_msg(L1CTL_RESET_IND, 0, 0, 0);
- res = msgb_put(msg, sizeof(*res));
- res->type = L1CTL_RES_T_BOOT;
- l1_queue_for_l2(msg);
+ l1ctl_tx_reset(L1CTL_RESET_IND, L1CTL_RES_T_BOOT);
}