mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 18:29:05 +08:00
Removed unused defines AVIONICS_ERROR_VOLTAGE and AVIONICS_WARN_VOLTAGE
This commit is contained in:
parent
93bc8f6467
commit
1c3ebadb85
@ -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";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user