Browse Source

AP_HAL_Linux: enable console for examples

Turns out we *do* need this for examples.  We're back to stuffing up
terminals where examples have been run, but that can be addressed later.
zr-v5.1
Peter Barker 5 years ago committed by Peter Barker
parent
commit
1ebfc79eb0
  1. 2
      libraries/AP_HAL_Linux/ConsoleDevice.cpp

2
libraries/AP_HAL_Linux/ConsoleDevice.cpp

@ -28,7 +28,7 @@ bool ConsoleDevice::close() @@ -28,7 +28,7 @@ bool ConsoleDevice::close()
bool ConsoleDevice::open()
{
#if APM_BUILD_TYPE(APM_BUILD_Replay) || APM_BUILD_TYPE(APM_BUILD_UNKNOWN)
#if APM_BUILD_TYPE(APM_BUILD_Replay)
// we do not want a ConsoleDevice for Replay or any examples. It
// screws up the terminal settings and creates all sorts of
// weirdnesses in Replay's output.

Loading…
Cancel
Save