Skip to content

上位机代码不可重入 #8

Description

@xxyyttxx

由于串口void Usart2_Send(uint8_t *, uint32_t);仅仅记录下这两个值,中断的时候再输出。这样的话,就得保证buf不被修改。

然而上位机代码并没有措施保证。

这可能是导致误码的一个原因。

Metadata

Metadata

Assignees

No one assigned

    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