From 100363ba03c4fb3e851b1f11f159ac18d4aac845 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 18 Jan 2018 14:51:09 +1100 Subject: [PATCH] AP_InertialSensor: if no sensors found allow parameter change --- libraries/AP_InertialSensor/AP_InertialSensor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/AP_InertialSensor.cpp b/libraries/AP_InertialSensor/AP_InertialSensor.cpp index f2c0aba46f..e63f7c8618 100644 --- a/libraries/AP_InertialSensor/AP_InertialSensor.cpp +++ b/libraries/AP_InertialSensor/AP_InertialSensor.cpp @@ -860,7 +860,7 @@ AP_InertialSensor::detect_backends(void) _enable_mask.set(found_mask); if (_backend_count == 0) { - AP_HAL::panic("No INS backends available"); + AP_BoardConfig::sensor_config_error("INS: unable to initialise driver"); } }