From fe5a4ab7108c5ffe4db815b3b9c97f3b0646b38d Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 12 Sep 2013 13:26:27 +1000 Subject: [PATCH] Plane: fixed Vcc --- ArduPlane/system.pde | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArduPlane/system.pde b/ArduPlane/system.pde index 82af19a02f..93da5420ed 100644 --- a/ArduPlane/system.pde +++ b/ArduPlane/system.pde @@ -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; }