diff options
author | David Lamparter <equinox@diac24.net> | 2012-05-11 01:52:47 +0200 |
---|---|---|
committer | David Lamparter <equinox@diac24.net> | 2012-05-11 01:52:47 +0200 |
commit | 203a267ade0bca9316ba2ba37e438a5a226aa903 (patch) | |
tree | ba5d12667c36a2aa6cff4cefc9f7c0d1155c674c | |
parent | 16e4fd7f17c2188ec5552f87ff217cfcb88666c8 (diff) |
can: fix compiler warning about PROGMEM
-rw-r--r-- | can.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,9 +34,9 @@ static uint8_t spi_wrrd(uint8_t out) return SPDR; } -static void spi_performpgm(const prog_uint8_t *cmds, uint8_t len) +static void spi_performpgm(const uint8_t * PROGMEM cmds, uint8_t len) { - const prog_uint8_t *end = cmds + len; + const uint8_t * PROGMEM end = cmds + len; uint8_t c; spi_ss(0); |