AP_HAL: use array for airspeed pin value

This commit is contained in:
Andrew Tridgell 2022-05-16 16:33:55 +10:00
parent 7dc5da1247
commit 962d92acf5
1 changed files with 1 additions and 2 deletions

View File

@ -51,8 +51,7 @@ public:
// simulated airspeed, sonar and battery monitor
uint16_t sonar_pin_value; // pin 0
uint16_t airspeed_pin_value; // pin 1
uint16_t airspeed_2_pin_value; // pin 2
uint16_t airspeed_pin_value[2]; // pin 1
uint16_t voltage_pin_value; // pin 13
uint16_t current_pin_value; // pin 12
uint16_t voltage2_pin_value; // pin 15