mirror of https://github.com/ArduPilot/ardupilot
Copter: fixed Vcc
This commit is contained in:
parent
6ab9b0b91b
commit
7c62736e59
|
@ -586,7 +586,7 @@ void flash_leds(bool on)
|
|||
*/
|
||||
uint16_t board_voltage(void)
|
||||
{
|
||||
return board_vcc_analog_source->read_latest();
|
||||
return board_vcc_analog_source->voltage_latest() * 1000;
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue