HAL_Linux: Initialize i2c before rcoutput (required by i2c pwm chips for initialization)

This commit is contained in:
Mikhail Avkhimenia 2014-09-18 17:36:55 +04:00 committed by Andrew Tridgell
parent 2f0900b0a8
commit e05151f0e0

View File

@ -122,10 +122,10 @@ void HAL_Linux::init(int argc,char* const argv[]) const
scheduler->init(NULL);
gpio->init();
i2c->begin();
rcout->init(NULL);
rcin->init(NULL);
uartA->begin(115200);
i2c->begin();
uartA->begin(115200);
spi->init(NULL);
utilInstance.init(argc, argv);
}