mirror of https://github.com/ArduPilot/ardupilot
HAL_Linux_Class: Init spi before rcin & rcout, because raspilot rcin & rcout use spi.
This commit is contained in:
parent
831bb554e7
commit
aa4d16622e
|
@ -227,11 +227,11 @@ void HAL_Linux::init(int argc,char* const argv[]) const
|
|||
#else
|
||||
i2c->begin();
|
||||
#endif
|
||||
spi->init(NULL);
|
||||
rcout->init(NULL);
|
||||
rcin->init(NULL);
|
||||
uartA->begin(115200);
|
||||
uartE->begin(115200);
|
||||
spi->init(NULL);
|
||||
analogin->init(NULL);
|
||||
utilInstance.init(argc+gopt.optind-1, &argv[gopt.optind-1]);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue