mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-21 16:18:29 -04:00
Plane: fixed Vcc
This commit is contained in:
parent
7c62736e59
commit
fe5a4ab710
@ -556,7 +556,7 @@ void flash_leds(bool on)
|
||||
*/
|
||||
uint16_t board_voltage(void)
|
||||
{
|
||||
return vcc_pin->read_latest();
|
||||
return vcc_pin->voltage_latest() * 1000;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user