diff options
| author | hathach <[email protected]> | 2013-01-27 13:50:40 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2013-01-27 13:50:40 +0700 |
| commit | 535f33002670dc0ca20aa73d7c025faea15b88d0 (patch) | |
| tree | d043b0dcdc573d011e9dad06882720190ba74a3c /tinyusb/host/usbd_host.h | |
| parent | f613c32422a9b1815785d38427d3096a97bd3457 (diff) | |
update license year from 2012 to 2013
Diffstat (limited to 'tinyusb/host/usbd_host.h')
| -rw-r--r-- | tinyusb/host/usbd_host.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tinyusb/host/usbd_host.h b/tinyusb/host/usbd_host.h index 8fb76a5a9..e28ef812d 100644 --- a/tinyusb/host/usbd_host.h +++ b/tinyusb/host/usbd_host.h @@ -7,7 +7,7 @@ /* * Software License Agreement (BSD License) - * Copyright (c) 2012, hathach (tinyusb.net) + * Copyright (c) 2013, hathach (tinyusb.net) * All rights reserved. * * Redistribution and use in source and binary forms, with or without modification, @@ -133,7 +133,7 @@ typedef uint32_t tusb_handle_device_t; //--------------------------------------------------------------------+ void tusbh_device_mounting_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl); void tusbh_device_mounted_cb (tusb_error_t const error, tusb_handle_device_t const device_hdl); -tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl, uint8_t const configure_number); +tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl, uint8_t const configure_number) ATTR_WARN_UNUSED_RESULT; //--------------------------------------------------------------------+ @@ -141,8 +141,8 @@ tusb_error_t tusbh_configuration_set (tusb_handle_device_t const device_hdl, //--------------------------------------------------------------------+ #ifdef _TINY_USB_SOURCE_FILE_ -bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl); -pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl); +bool usbh_device_is_plugged(tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT; +pipe_status_t usbh_pipe_status_get(pipe_handle_t pipe_hdl) ATTR_WARN_UNUSED_RESULT; #endif |
