mirror of https://github.com/ArduPilot/ardupilot
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.
This commit is contained in:
parent
c44b760f3c
commit
1ebfc79eb0
|
@ -28,7 +28,7 @@ bool ConsoleDevice::close()
|
||||||
|
|
||||||
bool ConsoleDevice::open()
|
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
|
// we do not want a ConsoleDevice for Replay or any examples. It
|
||||||
// screws up the terminal settings and creates all sorts of
|
// screws up the terminal settings and creates all sorts of
|
||||||
// weirdnesses in Replay's output.
|
// weirdnesses in Replay's output.
|
||||||
|
|
Loading…
Reference in New Issue