From f151fd369174e7345cad5bf244831267f377bd9d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 30 Apr 2017 10:48:00 +1000 Subject: [PATCH] AntennaTracker: call BoardConfig.init_safety() at end of startup this fixes a bug where motors can start on soft reboot --- AntennaTracker/system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/AntennaTracker/system.cpp b/AntennaTracker/system.cpp index b94a7b431a..3944ab48b9 100644 --- a/AntennaTracker/system.cpp +++ b/AntennaTracker/system.cpp @@ -120,6 +120,8 @@ void Tracker::init_tracker() prepare_servos(); } + // disable safety if requested + BoardConfig.init_safety(); } // updates the status of the notify objects