ArduSub: removed set_blocking_writes_all calls

This commit is contained in:
Andrew Tridgell 2023-07-07 18:47:51 +10:00
parent 435a83f106
commit 46c214e9d4
1 changed files with 0 additions and 5 deletions

View File

@ -166,11 +166,6 @@ void Sub::init_ardupilot()
g2.scripting.init(); g2.scripting.init();
#endif // AP_SCRIPTING_ENABLED #endif // AP_SCRIPTING_ENABLED
// we don't want writes to the serial port to cause us to pause
// mid-flight, so set the serial ports non-blocking once we are
// ready to fly
serial_manager.set_blocking_writes_all(false);
// enable CPU failsafe // enable CPU failsafe
mainloop_failsafe_enable(); mainloop_failsafe_enable();