Skip to content

SPI begin() usage does not follow Arduino API #2

Closed
@fpistm

Description

@fpistm

Hi @cparata
it seems the library does not follows the standard Arduino SPI API as the CS_PIN is passed to begin()

Since I've aligned the API, the library cannot build.
stm32duino/Arduino_Core_STM32#2171

Anyway without this change, I think the CS_PIN is not required here as the VL53L8CX library manage itself the CS pin
https://github.com/stm32duino/VL53L8CX/blob/7656f3dbe704aa7d40383bde1a877918613317aa/src/platform.cpp#L131C19-L134

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions