SITL: disabled buffering on stdout
this fixes the ArduPlane log dump
This commit is contained in:
parent
0186fabb3b
commit
091c14a33e
@ -66,6 +66,9 @@ void SITL_State::_parse_command_line(int argc, char * const argv[])
|
||||
|
||||
signal(SIGFPE, _sig_fpe);
|
||||
|
||||
setvbuf(stdout, (char *)0, _IONBF, 0);
|
||||
setvbuf(stderr, (char *)0, _IONBF, 0);
|
||||
|
||||
while ((opt = getopt(argc, argv, "swhr:H:C")) != -1) {
|
||||
switch (opt) {
|
||||
case 'w':
|
||||
|
Loading…
Reference in New Issue
Block a user