diff options
author | Christian Starkjohann <cs+github@obdev.at> | 2012-12-05 23:07:22 +0100 |
---|---|---|
committer | Christian Starkjohann <cs+github@obdev.at> | 2012-12-05 23:07:22 +0100 |
commit | b6498a0104c637139035f08219cc2f39cb953e6d (patch) | |
tree | 13e7a89eeffd988c42d7d76cb808c94b87926d72 /examples/hid-mouse/firmware/main.c | |
parent | 5e355a4f0588438632d56e2f9fef5a75b949bd24 (diff) | |
download | v-usb-b6498a0104c637139035f08219cc2f39cb953e6d.tar.gz v-usb-b6498a0104c637139035f08219cc2f39cb953e6d.tar.bz2 v-usb-b6498a0104c637139035f08219cc2f39cb953e6d.zip |
Add const keyword to all PROGMEM declarations as required by new gcc.
Diffstat (limited to 'examples/hid-mouse/firmware/main.c')
-rw-r--r-- | examples/hid-mouse/firmware/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hid-mouse/firmware/main.c b/examples/hid-mouse/firmware/main.c index 12c5bdb..86bb852 100644 --- a/examples/hid-mouse/firmware/main.c +++ b/examples/hid-mouse/firmware/main.c @@ -31,7 +31,7 @@ publish any hardware using these IDs! This is for demonstration only! /* ----------------------------- USB interface ----------------------------- */ /* ------------------------------------------------------------------------- */ -PROGMEM char usbHidReportDescriptor[52] = { /* USB report descriptor, size must match usbconfig.h */ +PROGMEM const char usbHidReportDescriptor[52] = { /* USB report descriptor, size must match usbconfig.h */ 0x05, 0x01, // USAGE_PAGE (Generic Desktop) 0x09, 0x02, // USAGE (Mouse) 0xa1, 0x01, // COLLECTION (Application) |