HAL_SITL: fixed crash with command line args to SITL periph

This commit is contained in:
Andrew Tridgell 2023-07-03 18:27:21 +10:00
parent a3eba8bbd3
commit fca6f2cba2

View File

@ -30,6 +30,7 @@ void SITL_State::init(int argc, char * const argv[]) {
{"help", false, 0, 'h'},
{"instance", true, 0, 'I'},
{"maintenance", false, 0, 'M'},
{0, false, 0, 0}
};
setvbuf(stdout, (char *)0, _IONBF, 0);