diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2011-09-21 06:25:31 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2011-09-21 06:25:31 +0000 |
commit | aae59857a2ee47aecbec75cd2c28de2c9b8cf3c7 (patch) | |
tree | 924c10defa604e1a8ecb226c97db3b5d7bd3d2d3 /Projects | |
parent | 8b420566cd4e26a963ad79988ff51f93e396ac42 (diff) | |
download | lufa-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 'Projects')
-rw-r--r-- | Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c index 9e7260aef..2158f4de2 100644 --- a/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c +++ b/Projects/AVRISP-MKII/Lib/ISP/ISPTarget.c @@ -41,7 +41,7 @@ * * \hideinitializer */ -static uint8_t SPIMaskFromSCKDuration[] PROGMEM = +static const uint8_t SPIMaskFromSCKDuration[] PROGMEM = { #if (F_CPU == 8000000) SPI_SPEED_FCPU_DIV_2, // AVRStudio = 8MHz SPI, Actual = 4MHz SPI @@ -68,7 +68,7 @@ static uint8_t SPIMaskFromSCKDuration[] PROGMEM = * * \hideinitializer */ -static uint16_t TimerCompareFromSCKDuration[] PROGMEM = +static const uint16_t TimerCompareFromSCKDuration[] PROGMEM = { TIMER_COMP(96386), TIMER_COMP(89888), TIMER_COMP(84211), TIMER_COMP(79208), TIMER_COMP(74767), TIMER_COMP(70797), TIMER_COMP(67227), TIMER_COMP(64000), TIMER_COMP(61069), TIMER_COMP(58395), |