aboutsummaryrefslogtreecommitdiffstats
path: root/usbdrv/usbdrv.h
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 /usbdrv/usbdrv.h
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 'usbdrv/usbdrv.h')
-rw-r--r--usbdrv/usbdrv.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/usbdrv/usbdrv.h b/usbdrv/usbdrv.h
index b377c43..a58c5b2 100644
--- a/usbdrv/usbdrv.h
+++ b/usbdrv/usbdrv.h
@@ -461,43 +461,43 @@ extern volatile schar usbRxLen;
#ifndef __ASSEMBLER__
extern
#if !(USB_CFG_DESCR_PROPS_DEVICE & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
char usbDescriptorDevice[];
extern
#if !(USB_CFG_DESCR_PROPS_CONFIGURATION & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
char usbDescriptorConfiguration[];
extern
#if !(USB_CFG_DESCR_PROPS_HID_REPORT & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
char usbDescriptorHidReport[];
extern
#if !(USB_CFG_DESCR_PROPS_STRING_0 & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
char usbDescriptorString0[];
extern
#if !(USB_CFG_DESCR_PROPS_STRING_VENDOR & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
int usbDescriptorStringVendor[];
extern
#if !(USB_CFG_DESCR_PROPS_STRING_PRODUCT & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
int usbDescriptorStringDevice[];
extern
#if !(USB_CFG_DESCR_PROPS_STRING_SERIAL_NUMBER & USB_PROP_IS_RAM)
-PROGMEM
+PROGMEM const
#endif
int usbDescriptorStringSerialNumber[];