diff options
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/hid-custom-rq/firmware/main.c | 2 | ||||
| -rw-r--r-- | examples/hid-data/firmware/main.c | 2 | ||||
| -rw-r--r-- | examples/hid-mouse/firmware/main.c | 2 | 
3 files changed, 3 insertions, 3 deletions
| 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) 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) 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) | 
