summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);