Plane: fixed Vcc

This commit is contained in:
Andrew Tridgell 2013-09-12 13:26:27 +10:00
parent 7c62736e59
commit fe5a4ab710

View File

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