From 1c3ebadb85f7c1d74ea29a4f13a5e36ff672b88e Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Wed, 18 Jan 2017 16:19:10 -1000 Subject: [PATCH] Removed unused defines AVIONICS_ERROR_VOLTAGE and AVIONICS_WARN_VOLTAGE --- src/modules/commander/state_machine_helper.cpp | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/modules/commander/state_machine_helper.cpp b/src/modules/commander/state_machine_helper.cpp index 9f2d752378..01dd9c3bbe 100644 --- a/src/modules/commander/state_machine_helper.cpp +++ b/src/modules/commander/state_machine_helper.cpp @@ -72,14 +72,6 @@ using namespace DriverFramework; #endif -#ifdef CONFIG_ARCH_BOARD_MINDPX_V2 -#define AVIONICS_ERROR_VOLTAGE 3.75f -#define AVIONICS_WARN_VOLTAGE 3.9f -#else -#define AVIONICS_ERROR_VOLTAGE 4.5f -#define AVIONICS_WARN_VOLTAGE 4.9f -#endif - static const char reason_no_rc[] = "no RC"; static const char reason_no_offboard[] = "no offboard"; static const char reason_no_rc_and_no_offboard[] = "no RC and no offboard";