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/class | |
| parent | f613c32422a9b1815785d38427d3096a97bd3457 (diff) | |
update license year from 2012 to 2013
Diffstat (limited to 'tinyusb/class')
| -rw-r--r-- | tinyusb/class/cdc.c | 2 | ||||
| -rw-r--r-- | tinyusb/class/cdc.h | 2 | ||||
| -rw-r--r-- | tinyusb/class/hid.c | 2 | ||||
| -rw-r--r-- | tinyusb/class/hid.h | 2 | ||||
| -rw-r--r-- | tinyusb/class/hid_device.h | 2 | ||||
| -rw-r--r-- | tinyusb/class/hid_host.c | 2 | ||||
| -rw-r--r-- | tinyusb/class/hid_host.h | 8 |
7 files changed, 10 insertions, 10 deletions
diff --git a/tinyusb/class/cdc.c b/tinyusb/class/cdc.c index 138666f45..ca37d205f 100644 --- a/tinyusb/class/cdc.c +++ b/tinyusb/class/cdc.c @@ -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, diff --git a/tinyusb/class/cdc.h b/tinyusb/class/cdc.h index a33ec594b..e261967dd 100644 --- a/tinyusb/class/cdc.h +++ b/tinyusb/class/cdc.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, diff --git a/tinyusb/class/hid.c b/tinyusb/class/hid.c index 9433fe17d..255f94617 100644 --- a/tinyusb/class/hid.c +++ b/tinyusb/class/hid.c @@ -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, diff --git a/tinyusb/class/hid.h b/tinyusb/class/hid.h index cf9a47278..19d40c9ca 100644 --- a/tinyusb/class/hid.h +++ b/tinyusb/class/hid.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, diff --git a/tinyusb/class/hid_device.h b/tinyusb/class/hid_device.h index 41bcb8fe7..9d89a139a 100644 --- a/tinyusb/class/hid_device.h +++ b/tinyusb/class/hid_device.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, diff --git a/tinyusb/class/hid_host.c b/tinyusb/class/hid_host.c index 645d60ac0..bd6542ddb 100644 --- a/tinyusb/class/hid_host.c +++ b/tinyusb/class/hid_host.c @@ -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, diff --git a/tinyusb/class/hid_host.h b/tinyusb/class/hid_host.h index d1729b10b..b41bafb15 100644 --- a/tinyusb/class/hid_host.h +++ b/tinyusb/class/hid_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, @@ -61,8 +61,8 @@ //--------------------------------------------------------------------+ // APPLICATION API //--------------------------------------------------------------------+ -uint8_t tusbh_hid_keyboard_no_instances(tusb_handle_device_t const device_hdl); -tusb_error_t tusbh_hid_keyboard_get(tusb_handle_device_t const handle, uint8_t instance_num, tusb_keyboard_report_t * const report); +uint8_t tusbh_hid_keyboard_no_instances(tusb_handle_device_t const device_hdl) ATTR_WARN_UNUSED_RESULT; +tusb_error_t tusbh_hid_keyboard_get(tusb_handle_device_t const handle, uint8_t instance_num, tusb_keyboard_report_t * const report) ATTR_WARN_UNUSED_RESULT; //--------------------------------------------------------------------+ // INTERNAL API @@ -81,7 +81,7 @@ typedef struct { } class_hid_keyboard_info_t; void class_hid_keyboard_init(void); -tusb_error_t class_hid_keyboard_install(uint8_t const dev_addr, uint8_t const *descriptor); +tusb_error_t class_hid_keyboard_install(uint8_t const dev_addr, uint8_t const *descriptor) ATTR_WARN_UNUSED_RESULT; #endif |
