SITL: fixed Vcc voltage

This commit is contained in:
Andrew Tridgell 2013-09-12 16:34:38 +10:00
parent 3a3cecf5ff
commit bc3249fada
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ float ADCSource::voltage_latest() {
float ADCSource::read_latest() {
switch (_pin) {
case ANALOG_INPUT_BOARD_VCC:
return 4900;
return 1023;
case 0:
return _sitlState->airspeed_pin_value;