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-mouse/firmware/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/hid-mouse/firmware/main.c') 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) -- cgit v1.2.3