Browse Source

Plane: fixed Vcc

master
Andrew Tridgell 12 years ago
parent
commit
fe5a4ab710
  1. 2
      ArduPlane/system.pde

2
ArduPlane/system.pde

@ -556,7 +556,7 @@ void flash_leds(bool on) @@ -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…
Cancel
Save