[smart/tty] skip configure of rt_serial on tty open by polarvid · Pull Request #9152 · RT-Thread/rt-thread

@polarvid

Skip configure on open since all configs are copied from the current
configuration on device. So we don't bother to set it back to device
again.

Changes:

- test and skip configuration on open() of tty device

Signed-off-by: Shell <smokewood@qq.com>

@polarvid marked this pull request as ready for review

July 8, 2024 12:21

BernardXiong

messigogogo pushed a commit to messigogogo/rt-thread that referenced this pull request

Jul 22, 2024
Skip configure on open since all configs are copied from the current
configuration on device. So we don't bother to set it back to device
again.

Changes:

- test and skip configuration on open() of tty device

Signed-off-by: Shell <smokewood@qq.com>