USB Host WAN Dongle library

Fork of USBHostWANDongle_bleedingedge by Donatien Garnier

Files at this revision

API Documentation at this revision

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;