Browse Source

HAL_Empty: use 5V voltage for HAL_EMPTY

this makes bringup easier for new boards (allows arming checks to
pass)
mission-4.1.18
Andrew Tridgell 9 years ago
parent
commit
a73039d515
  1. 2
      libraries/AP_HAL_Empty/AnalogIn.cpp

2
libraries/AP_HAL_Empty/AnalogIn.cpp

@ -43,5 +43,5 @@ AP_HAL::AnalogSource* AnalogIn::channel(int16_t n) { @@ -43,5 +43,5 @@ AP_HAL::AnalogSource* AnalogIn::channel(int16_t n) {
float AnalogIn::board_voltage(void)
{
return 0;
return 5.0f;
}

Loading…
Cancel
Save