diff options
| author | Andreas Auras <yak54@inkennet.de> | 2012-10-22 20:58:14 +0200 |
|---|---|---|
| committer | Andreas Auras <yak54@inkennet.de> | 2012-10-22 20:58:14 +0200 |
| commit | cb3e9afd627cdef3a92bace991b779deb342a976 (patch) | |
| tree | 4b6028cd978ee46d8d6270c4ab98f00f78fb5022 /pwm_appl | |
| parent | d01fd7be0965066ff24d562628412d2ffd222fca (diff) | |
| download | df10ch-atmolight-controller-cb3e9afd627cdef3a92bace991b779deb342a976.tar.gz df10ch-atmolight-controller-cb3e9afd627cdef3a92bace991b779deb342a976.tar.bz2 | |
Fixed compilation errors with recent avr-gcc version.
Many thanks to "olebowle" for this patch.
Diffstat (limited to 'pwm_appl')
| -rw-r--r-- | pwm_appl/df10ch_pwm_appl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pwm_appl/df10ch_pwm_appl.c b/pwm_appl/df10ch_pwm_appl.c index 25623b3..439926e 100644 --- a/pwm_appl/df10ch_pwm_appl.c +++ b/pwm_appl/df10ch_pwm_appl.c @@ -169,7 +169,7 @@ static uint16_t bright_vals[NCHANNELS]; // typedef struct { uint8_t code, port_bits; } channel_map_t; -static channel_map_t default_channel_map[NCHANNELS] PROGMEM = { +static const channel_map_t default_channel_map[NCHANNELS] PROGMEM = { // J3 { CM_CODE(PA_IDX, 0), _BV(2) }, { CM_CODE(PA_IDX, 1), _BV(1) }, |
