Added pgm_read_word() def for non-AVR chips

This commit is contained in:
Phillip Burgess 2015-12-24 20:20:11 -08:00
parent 300babdc70
commit f2e454dcf4

View File

@ -39,6 +39,7 @@ POSSIBILITY OF SUCH DAMAGE.
#include <pgmspace.h>
#else
#define pgm_read_byte(addr) (*(const unsigned char *)(addr))
#define pgm_read_word(addr) (*(const unsigned short *)(addr))
#endif
#ifndef min