diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2018-04-08 22:02:23 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-08 22:02:23 -0700 |
| commit | 93e09e7ee55f7193cb7be6c1279d07aad4dc08b4 (patch) | |
| tree | 5c3580b913c4aa81aca0101d984dc58d3f1987ca /shared-bindings | |
| parent | 9672f3891efb5419977b378938971f8cf9dde882 (diff) | |
| parent | 1e87a785b925657c5ab8fe14e76509debca663a3 (diff) | |
Merge pull request #738 from dhalbert/3.0_hid
3.0 hid
Diffstat (limited to 'shared-bindings')
| -rw-r--r-- | shared-bindings/usb_hid/Device.h | 2 | ||||
| -rw-r--r-- | shared-bindings/usb_hid/__init__.h | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/shared-bindings/usb_hid/Device.h b/shared-bindings/usb_hid/Device.h index 33b9f1c99..2bc553c4a 100644 --- a/shared-bindings/usb_hid/Device.h +++ b/shared-bindings/usb_hid/Device.h @@ -27,7 +27,7 @@ #ifndef MICROPY_INCLUDED_SHARED_BINDINGS_USB_HID_DEVICE_H #define MICROPY_INCLUDED_SHARED_BINDINGS_USB_HID_DEVICE_H -#include "common-hal/usb_hid/types.h" +#include "common-hal/usb_hid/Device.h" const mp_obj_type_t usb_hid_device_type; diff --git a/shared-bindings/usb_hid/__init__.h b/shared-bindings/usb_hid/__init__.h index ff478d083..3d56fbfd0 100644 --- a/shared-bindings/usb_hid/__init__.h +++ b/shared-bindings/usb_hid/__init__.h @@ -30,8 +30,6 @@ #include <stdint.h> #include <stdbool.h> -// TODO(tannewt): Make this a mp_obj_tuple_t when it is dynamically allocated. -// until then we hard code it to two entries so LTO is happy. -extern mp_obj_tuple2_t common_hal_usb_hid_devices; +extern mp_obj_tuple_t common_hal_usb_hid_devices; #endif // SHARED_BINDINGS_USB_HID_H |
