INLINE uint16_t updcrc_ccitt(uint8_t c, uint16_t oldcrc)
{
#if CPU_HARVARD
- return (oldcrc >> 8) ^ pgm_read_uint16_t(crc_ccitt_tab[(oldcrc ^ c) & 0xff]);
+ return (oldcrc >> 8) ^ pgm_read_uint16_t(&crc_ccitt_tab[(oldcrc ^ c) & 0xff]);
#else
return (oldcrc >> 8) ^ crc_ccitt_tab[(oldcrc ^ c) & 0xff];
#endif