Browse Source

[lwp] fix TTYSUP_CFLAG did not include CBAUD flag

zhujiale 6 months ago
parent
commit
ee5b7f1de9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      components/lwp/terminal/freebsd/tty.c

+ 1 - 1
components/lwp/terminal/freebsd/tty.c

@@ -73,7 +73,7 @@ static const char *dev_console_filename;
 #define TTYSUP_CFLAG                                                       \
     (CIGNORE | CSIZE | CSTOPB | CREAD | PARENB | PARODD | HUPCL | CLOCAL | \
      CCTS_OFLOW | CRTS_IFLOW | CDTR_IFLOW | CDSR_OFLOW | CCAR_OFLOW |      \
-     CNO_RTSDTR)
+     CNO_RTSDTR | CBAUD)
 
 /*
  * Set TTY buffer sizes.