mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-31 07:31:35 +08:00
Removed unused defines AVIONICS_ERROR_VOLTAGE and AVIONICS_WARN_VOLTAGE
This commit is contained in:
committed by
Lorenz Meier
parent
93bc8f6467
commit
1c3ebadb85
@@ -72,14 +72,6 @@
|
|||||||
using namespace DriverFramework;
|
using namespace DriverFramework;
|
||||||
#endif
|
#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_rc[] = "no RC";
|
||||||
static const char reason_no_offboard[] = "no offboard";
|
static const char reason_no_offboard[] = "no offboard";
|
||||||
static const char reason_no_rc_and_no_offboard[] = "no RC and no offboard";
|
static const char reason_no_rc_and_no_offboard[] = "no RC and no offboard";
|
||||||
|
|||||||
Reference in New Issue
Block a user