From b6498a0104c637139035f08219cc2f39cb953e6d Mon Sep 17 00:00:00 2001 From: Christian Starkjohann Date: Wed, 5 Dec 2012 23:07:22 +0100 Subject: Add const keyword to all PROGMEM declarations as required by new gcc. --- examples/hid-custom-rq/firmware/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/hid-custom-rq/firmware/main.c') diff --git a/examples/hid-custom-rq/firmware/main.c b/examples/hid-custom-rq/firmware/main.c index e4ade7c..f0ec6cd 100644 --- a/examples/hid-custom-rq/firmware/main.c +++ b/examples/hid-custom-rq/firmware/main.c @@ -34,7 +34,7 @@ different port or bit, change the macros below: /* ----------------------------- 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) -- cgit v1.2.3