mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-10 09:58:28 -04:00
HAL_Linux: fixed chaining of getopt instances
This commit is contained in:
parent
c8a6a02be1
commit
355575f793
@ -186,7 +186,7 @@ void HAL_Linux::init(int argc,char* const argv[]) const
|
||||
uartE->begin(115200);
|
||||
spi->init(NULL);
|
||||
analogin->init(NULL);
|
||||
utilInstance.init(argc, argv);
|
||||
utilInstance.init(argc+gopt.optind, &argv[gopt.optind]);
|
||||
}
|
||||
|
||||
const HAL_Linux AP_HAL_Linux;
|
||||
|
Loading…
Reference in New Issue
Block a user