summaryrefslogtreecommitdiff
path: root/tinyusb/class/hid_device.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-21 19:23:19 +0700
committerhathach <[email protected]>2014-03-21 19:23:19 +0700
commit7c5b3861303e3cf0210a40bf8a0a511583700fd0 (patch)
treeec903bb701cb1dc43a81ea89834c13a14dd3626e /tinyusb/class/hid_device.c
parentb349121c09c99dd65b35b785fa34d8884f6867f4 (diff)
clean ATTR_USB_MIN_ALIGNMENT on application and most of device except the msc_device.c
Diffstat (limited to 'tinyusb/class/hid_device.c')
-rw-r--r--tinyusb/class/hid_device.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/tinyusb/class/hid_device.c b/tinyusb/class/hid_device.c
index 1adf035b6..1f266da21 100644
--- a/tinyusb/class/hid_device.c
+++ b/tinyusb/class/hid_device.c
@@ -101,10 +101,8 @@ static hidd_class_driver_t const hidd_class_driver[HIDD_NUMBER_OF_SUBCLASS] =
#endif
};
-
// TODO [HID] generic
-TUSB_CFG_ATTR_USBRAM ATTR_USB_MIN_ALIGNMENT
-uint8_t m_control_data[ MAX_OF(sizeof(hid_keyboard_report_t), sizeof(hid_mouse_report_t)) ];
+TUSB_CFG_ATTR_USBRAM uint8_t m_control_data[ MAX_OF(sizeof(hid_keyboard_report_t), sizeof(hid_mouse_report_t)) ];
//--------------------------------------------------------------------+
// KEYBOARD APPLICATION API