Rover: remove scaling of voltage pin

This commit is contained in:
Andrew Tridgell 2013-03-15 08:40:32 +11:00
parent 7681f3b639
commit 5ddbad6ccb

View File

@ -543,7 +543,7 @@ void setup() {
// load the default values of variables listed in var_info[]
AP_Param::setup_sketch_defaults();
rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE, 0.25);
rssi_analog_source = hal.analogin->channel(ANALOG_INPUT_NONE, 1.0);
vcc_pin = hal.analogin->channel(ANALOG_INPUT_BOARD_VCC);
batt_volt_pin = hal.analogin->channel(g.battery_volt_pin);
batt_curr_pin = hal.analogin->channel(g.battery_curr_pin);