mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-03 12:14:10 -04:00
AP_WindVane: default pins to -1
This commit is contained in:
parent
d0a26b6dc6
commit
25057d26a0
@ -18,9 +18,15 @@
|
|||||||
#include <AP_AHRS/AP_AHRS.h>
|
#include <AP_AHRS/AP_AHRS.h>
|
||||||
#include <AP_SerialManager/AP_SerialManager.h>
|
#include <AP_SerialManager/AP_SerialManager.h>
|
||||||
|
|
||||||
#define WINDVANE_DEFAULT_PIN 15 // default wind vane sensor analog pin
|
#ifndef WINDVANE_DEFAULT_PIN
|
||||||
#define WINDSPEED_DEFAULT_SPEED_PIN 14 // default pin for reading speed from ModernDevice rev p wind sensor
|
#define WINDVANE_DEFAULT_PIN -1 // default wind vane sensor analog pin
|
||||||
#define WINDSPEED_DEFAULT_TEMP_PIN 13 // default pin for reading temperature from ModernDevice rev p wind sensor
|
#endif
|
||||||
|
#ifndef WINDSPEED_DEFAULT_SPEED_PIN
|
||||||
|
#define WINDSPEED_DEFAULT_SPEED_PIN -1 // default pin for reading speed from ModernDevice rev p wind sensor
|
||||||
|
#endif
|
||||||
|
#ifndef WINDSPEED_DEFAULT_TEMP_PIN
|
||||||
|
#define WINDSPEED_DEFAULT_TEMP_PIN -1 // default pin for reading temperature from ModernDevice rev p wind sensor
|
||||||
|
#endif
|
||||||
#define WINDSPEED_DEFAULT_VOLT_OFFSET 1.346f // default voltage offset between speed and temp pins from ModernDevice rev p wind sensor
|
#define WINDSPEED_DEFAULT_VOLT_OFFSET 1.346f // default voltage offset between speed and temp pins from ModernDevice rev p wind sensor
|
||||||
|
|
||||||
class AP_WindVane_Backend;
|
class AP_WindVane_Backend;
|
||||||
|
Loading…
Reference in New Issue
Block a user