aboutsummaryrefslogtreecommitdiffstats
path: root/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2011-09-21 06:25:31 +0000
committerDean Camera <dean@fourwalledcubicle.com>2011-09-21 06:25:31 +0000
commitaae59857a2ee47aecbec75cd2c28de2c9b8cf3c7 (patch)
tree924c10defa604e1a8ecb226c97db3b5d7bd3d2d3 /Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
parent8b420566cd4e26a963ad79988ff51f93e396ac42 (diff)
downloadlufa-aae59857a2ee47aecbec75cd2c28de2c9b8cf3c7.tar.gz
lufa-aae59857a2ee47aecbec75cd2c28de2c9b8cf3c7.tar.bz2
lufa-aae59857a2ee47aecbec75cd2c28de2c9b8cf3c7.zip
Add const qualifier to all PROGMEM data to prevent warnings in newer AVR-GCC compiler versions.
Diffstat (limited to 'Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c')
-rw-r--r--Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
index a56b34738..6acfff281 100644
--- a/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
+++ b/Demos/Device/LowLevel/RNDISEthernet/Lib/RNDIS.c
@@ -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[] =