Modularity and gcc warnings fixes.

This commit is contained in:
flabbergast 2015-09-07 21:33:06 +01:00
parent 455fd51a87
commit be9be90483
6 changed files with 23 additions and 8 deletions

View file

@ -5,8 +5,8 @@
# include <avr/pgmspace.h>
#elif defined(__arm__)
# define PROGMEM
# define pgm_read_byte(p) *(p)
# define pgm_read_word(p) *(p)
# define pgm_read_byte(p) *((unsigned char*)p)
# define pgm_read_word(p) *((uint16_t*)p)
#endif
#endif