Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of USBHostWANDongle by
Revision 14:4344ce758b88, committed 2012-11-13
- Comitter:
- donatien
- Date:
- Tue Nov 13 12:00:11 2012 +0000
- Parent:
- 13:c154e7f2e42f
- Child:
- 15:25c10b07bb17
- Child:
- 20:3abcf818be31
- Commit message:
- GCC-compliant
Changed in this revision
| USBHost/USBHALHost.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/USBHost/USBHALHost.cpp Wed Sep 12 07:50:48 2012 +0000
+++ b/USBHost/USBHALHost.cpp Tue Nov 13 12:00:11 2012 +0000
@@ -50,7 +50,7 @@
#define TOTAL_SIZE (HCCA_SIZE + (MAX_ENDPOINT*ED_SIZE) + (MAX_TD*TD_SIZE))
-static volatile __align(256) uint8_t usb_buf[TOTAL_SIZE] __attribute((section("AHBSRAM1"),aligned)); //256 bytes aligned!
+static volatile uint8_t usb_buf[TOTAL_SIZE] __attribute((section("AHBSRAM1"),aligned(256))); //256 bytes aligned!
USBHALHost * USBHALHost::instHost;
