-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix an issue with UDP port writes fail
If a UDP write fails, the read enable on the port wasn't being enabled. The check to say that there was still data to write to the port was returning that there was still data, but there obviously wasn't because the UDP port failed. The re-enable after the timeout also wasn't properly setting the state, and there was a place that was clearing the write position when it shouldn't have. Also remove some debugging cruft that got left in earlier. Signed-off-by: Corey Minyard <[email protected]>
- Loading branch information
Showing
2 changed files
with
10 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters