examples/foc: allow nxscope transfer over RTT interface

For UART serial interface TERMIOS is required, but for RTT serial interface it's not.
This commit is contained in:
raiden00pl 2023-10-02 13:19:09 +02:00 committed by Petro Karashchenko
parent f505b6cb08
commit 5cbd9b2b7b

View File

@ -42,7 +42,7 @@
# error CONFIG_LOGGING_NXSCOPE_DISABLE_PUTLOCK must be set to proper operation.
#endif
#ifdef CONFIG_LOGGING_NXSCOPE_INTF_SERIAL
#if defined(CONFIG_LOGGING_NXSCOPE_INTF_SERIAL) && !defined(CONFIG_SERIAL_RTT)
# ifndef CONFIG_SERIAL_TERMIOS
# error CONFIG_SERIAL_TERMIOS must be set to proper operation.
# endif