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:
Peter Barker 2020-05-28 12:19:46 +10:00 committed by Peter Barker
parent c44b760f3c
commit 1ebfc79eb0
1 changed files with 1 additions and 1 deletions

View File

@ -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.