Copter: fixed Vcc

This commit is contained in:
Andrew Tridgell 2013-09-12 13:26:19 +10:00
parent 6ab9b0b91b
commit 7c62736e59
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
//