Skip to content

Fix write to pipe#248

Merged
TMRh20 merged 2 commits intomasterfrom
fix-write_to_pipe
Apr 27, 2025
Merged

Fix write to pipe#248
TMRh20 merged 2 commits intomasterfrom
fix-write_to_pipe

Conversation

@TMRh20
Copy link
Member

@TMRh20 TMRh20 commented Apr 27, 2025

The main purpose of this fix is to return failure on a single write failure.

Previous behavior would "skip" the current payload and return the status of previously sent packets in the TX FIFO.

Closes #246

TMRh20 added 2 commits April 27, 2025 11:51
- Mainly returns 0 if a single write fails instead of returning the state of previously sent packets in the FIFO
@TMRh20 TMRh20 merged commit 5b24caf into master Apr 27, 2025
21 checks passed
@TMRh20 TMRh20 deleted the fix-write_to_pipe branch April 27, 2025 21:33
2bndy5 pushed a commit that referenced this pull request May 4, 2025
* Fix for write_to_pipe

- Mainly returns 0 if a single write fails instead of returning the state of previously sent packets in the FIFO
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.

Don't set OK variable in write_to_pipe() function if writeFast() fails

2 participants