Skip to content

Conversation

@marcsaegesser
Copy link

The previous implementation initialized each member of the
spi_device_interface_config_t individually. This missed some members
causing uninitialized memory to be used. This change simply
initializes the structure using memset() before filling in the
necessary fields.

The previous implementation initialized each member of the
spi_device_interface_config_t individually. This missed some members
causing uninitialized memory to be used. This change simply
initializes the structure using memset() before filling in the
necessary fields.
@adamwilt adamwilt mentioned this pull request Dec 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant