diff options
| author | hathach <[email protected]> | 2013-04-10 01:13:31 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-04-10 01:18:32 +0700 |
| commit | e14aa4197d290fc7f294d42d4886fb5892c9f360 (patch) | |
| tree | 20743d8b56c7cb9b9f66b83987235fe45e17772f /tinyusb/osal/osal.h | |
| parent | e6a44b3fe9a0af6ce33f8340c8703bf0bbc43d5a (diff) | |
change osal_queue_send(osal_queue_handle_t const queue_hdl, uint32_t data) signature to osal_queue_send(osal_queue_handle_t const queue_hdl, const void * data)
- support any size queue message (instead of fixed uint32_t)
Diffstat (limited to 'tinyusb/osal/osal.h')
| -rw-r--r-- | tinyusb/osal/osal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tinyusb/osal/osal.h b/tinyusb/osal/osal.h index 0ae4907db..3904e2c77 100644 --- a/tinyusb/osal/osal.h +++ b/tinyusb/osal/osal.h @@ -173,7 +173,7 @@ typedef osal_queue_t * osal_queue_handle_t; osal_queue_handle_t osal_queue_create (osal_queue_t *p_queue); void osal_queue_receive (osal_queue_handle_t const queue_hdl, uint32_t *p_data, uint32_t msec, tusb_error_t *p_error); -tusb_error_t osal_queue_send (osal_queue_handle_t const queue_hdl, uint32_t data); +tusb_error_t osal_queue_send (osal_queue_handle_t const queue_hdl, const void * data); void osal_queue_flush(osal_queue_handle_t const queue_hdl); //--------------------------------------------------------------------+ |
