mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
modbus: Fix compilation issue and advice users about termios
This commit is contained in:
parent
478a7027d9
commit
f9e487ae1d
3 changed files with 9 additions and 0 deletions
|
|
@ -50,6 +50,10 @@
|
|||
|
||||
/* modbus master port */
|
||||
|
||||
#ifndef CONFIG_SERIAL_TERMIOS
|
||||
# error "CONFIG_SERIAL_TERMIOS is needed by modbus example"
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_EXAMPLES_MODBUSMASTER_PORT
|
||||
# define MBMASTER_PORT CONFIG_EXAMPLES_MODBUSMASTER_PORT
|
||||
#else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue