Skip to content

bsp/spi中len参数类型错误 #1

@nianlee-official

Description

@nianlee-official

bsp/spi的发送、接收函数中len参数应该由uint8_t改成uint16_t,在处理lcd之类需要一次性发送大量数据的外设时,uint8_t会溢出,HAL库spi的发送接收函数中的size参数就是uint16_t

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions