Skip to content

Conversation

@thejpster
Copy link
Member

Moves SPI disable/enable into the main thread. Also changes to using the internal NSS signal instead of brutally enabling/disabling the whole SPI module. This fixes the bug where we sometimes had a couple of bits stuck in the FIFO.

Copy link
Contributor

@Detegr Detegr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would split this commit up a bit for readability as it contains some reformatting stuff in it and a vscode settings file.

@thejpster
Copy link
Member Author

Yeah, you're right. I should.

@thejpster
Copy link
Member Author

Closes #39 but seems to suffer #42

@thejpster
Copy link
Member Author

Hopefully that's a bit cleaner - the formatting changes got pushed into the earlier commit.

@thejpster
Copy link
Member Author

Ok merge time

@thejpster thejpster merged commit 0efe4a8 into develop Jan 5, 2023
@thejpster thejpster deleted the fix-spi-disable branch January 13, 2023 20:02
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.

3 participants