Rover: fixup parameter loading

This commit is contained in:
Andrew Tridgell 2012-12-19 07:17:17 +11:00
parent 1c2a220888
commit 6f757ed457

View File

@ -579,6 +579,9 @@ void setup() {
memcheck_init();
cliSerial = hal.console;
// 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);
vcc_pin = hal.analogin->channel(ANALOG_INPUT_BOARD_VCC);
batt_volt_pin = hal.analogin->channel(g.battery_volt_pin);