forked from libcsp/libcsp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rdp: Refractor
csp_rdp_queue_rx_add
to return success or failure
Prior to this change, `csp_rdp_queue_rx_add` was a void function, preventing users from verifying if the function had successfully added a packet to the RX queue. Because `csp_queue_enqueue` in `csp_rdp_queue_rx_add` can fail, it's usefull to verify if the function was successfull. `csp_rdp_queue_rx_add` now returns 0 on success and -1 on failure.
- Loading branch information
1 parent
b01c90c
commit ddca638
Showing
3 changed files
with
22 additions
and
11 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
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