From feb2987fa8558ed2792fe67d2e83a2de6bd25042 Mon Sep 17 00:00:00 2001 From: Julian Oes Date: Tue, 14 Dec 2021 08:26:02 +0100 Subject: [PATCH] Mantis: remove unused transition script When coming from the previous stack there are no params anywhere, so this will not execute anyway. --- boards/atl/mantis-edu/init/rc.board_extras | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/boards/atl/mantis-edu/init/rc.board_extras b/boards/atl/mantis-edu/init/rc.board_extras index f4bc439fea..e3969b7473 100644 --- a/boards/atl/mantis-edu/init/rc.board_extras +++ b/boards/atl/mantis-edu/init/rc.board_extras @@ -3,18 +3,3 @@ tap_esc start -d /dev/ttyS4 -n 4 sleep 1 mixer load /dev/tap_esc /etc/mixers/quad_x.main.mix - -# Transition from previous non open-source flight stack -if param compare SYS_AUTOSTART 4001 -then - param reset_all - tune_control play -t 4 - sleep 2 - if bl_update /etc/extras/bootloader.bin - then - tune_control play -t 3 - else - tune_control play -t 5 - fi - sleep 2 -fi