Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions.

This commit is contained in:
Dean Camera 2011-09-21 06:25:31 +00:00
parent 8b420566cd
commit aae59857a2
4 changed files with 20 additions and 20 deletions

View file

@ -38,12 +38,12 @@
#include "RNDIS.h"
/** Physical MAC address of the network adapter, which becomes the MAC address of the host for packets sent to the adapter. */
static MAC_Address_t PROGMEM AdapterMACAddress = {ADAPTER_MAC_ADDRESS};
static const MAC_Address_t PROGMEM AdapterMACAddress = {ADAPTER_MAC_ADDRESS};
/** Vendor description of the adapter. This is overridden by the INF file required to install the appropriate RNDIS drivers for
* the device, but may still be used by the OS in some circumstances.
*/
static char PROGMEM AdapterVendorDescription[] = "LUFA RNDIS Adapter";
static const char PROGMEM AdapterVendorDescription[] = "LUFA RNDIS Adapter";
/** List of RNDIS OID commands supported by this adapter. */
static const uint32_t PROGMEM AdapterSupportedOIDList[] =