summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2012-05-11 01:52:47 +0200
committerDavid Lamparter <equinox@diac24.net>2012-05-11 01:52:47 +0200
commit203a267ade0bca9316ba2ba37e438a5a226aa903 (patch)
treeba5d12667c36a2aa6cff4cefc9f7c0d1155c674c
parent16e4fd7f17c2188ec5552f87ff217cfcb88666c8 (diff)
can: fix compiler warning about PROGMEM
-rw-r--r--can.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/can.c b/can.c
index 6120d51..4e41fe8 100644
--- a/can.c
+++ b/can.c
@@ -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);