mirror of https://github.com/ArduPilot/ardupilot
HAL_Linux: only init serial(0)
we should not pre-init all uarts, it wastes memory if unused
This commit is contained in:
parent
19723e6e75
commit
d6c5fc36d8
|
@ -377,12 +377,7 @@ void HAL_Linux::run(int argc, char* const argv[], Callbacks* callbacks) const
|
|||
gpio->init();
|
||||
rcout->init();
|
||||
rcin->init();
|
||||
uartA->begin(115200);
|
||||
uartE->begin(115200);
|
||||
uartF->begin(115200);
|
||||
uartG->begin(115200);
|
||||
uartH->begin(115200);
|
||||
uartI->begin(115200);
|
||||
serial(0)->begin(115200);
|
||||
analogin->init();
|
||||
utilInstance.init(argc+gopt.optind-1, &argv[gopt.optind-1]);
|
||||
|
||||
|
|
Loading…
Reference in New Issue