Skip to content

[Bug] serial_fops_open 顺序错误导致 rx_indicate 被清空 #11538

Description

@V-V-TT

RT-Thread Version

5.2.2

Hardware Type/Architectures

HPM6750

Develop Toolchain

RT-Thread Studio

Describe the bug

rt_serial_close() 关闭时清空回调
serial_fops_open() 先设回调,再 close/open
poll()/select() 阻塞等待控制台永不被唤醒

Other additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions