mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
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
Block a user