aboutsummaryrefslogtreecommitdiffstats
path: root/examples/hid-data/firmware/main.c
diff options
context:
space:
mode:
authorChristian Starkjohann <cs+github@obdev.at>2012-12-05 23:07:22 +0100
committerChristian Starkjohann <cs+github@obdev.at>2012-12-05 23:07:22 +0100
commitb6498a0104c637139035f08219cc2f39cb953e6d (patch)
tree13e7a89eeffd988c42d7d76cb808c94b87926d72 /examples/hid-data/firmware/main.c
parent5e355a4f0588438632d56e2f9fef5a75b949bd24 (diff)
downloadv-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-data/firmware/main.c')
-rw-r--r--examples/hid-data/firmware/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/hid-data/firmware/main.c b/examples/hid-data/firmware/main.c
index 7f05e76..b782aef 100644
--- a/examples/hid-data/firmware/main.c
+++ b/examples/hid-data/firmware/main.c
@@ -29,7 +29,7 @@ at least be connected to INT0 as well.
/* ----------------------------- USB interface ----------------------------- */
/* ------------------------------------------------------------------------- */
-PROGMEM char usbHidReportDescriptor[22] = { /* USB report descriptor */
+PROGMEM const char usbHidReportDescriptor[22] = { /* USB report descriptor */
0x06, 0x00, 0xff, // USAGE_PAGE (Generic Desktop)
0x09, 0x01, // USAGE (Vendor Usage 1)
0xa1, 0x01, // COLLECTION (Application)