mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
AP_RSSI: allow override of RSSI pin
This commit is contained in:
parent
8e4ee1ffa9
commit
e0ba1279fb
@ -23,9 +23,17 @@ extern const AP_HAL::HAL& hal;
|
||||
#define BOARD_RSSI_DEFAULT 1
|
||||
#define BOARD_RSSI_ANA_PIN 11
|
||||
#define BOARD_RSSI_ANA_PIN_HIGH 3.3f
|
||||
#else
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_RSSI_DEFAULT
|
||||
#define BOARD_RSSI_DEFAULT 0
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_RSSI_ANA_PIN
|
||||
#define BOARD_RSSI_ANA_PIN 0
|
||||
#endif
|
||||
|
||||
#ifndef BOARD_RSSI_ANA_PIN_HIGH
|
||||
#define BOARD_RSSI_ANA_PIN_HIGH 5.0f
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user