Merge commit 'a074364c3731d66b56d988c8a6c960a83ea0e0a1' as 'tmk_core'
This commit is contained in:
12
tmk_core/common/progmem.h
Normal file
12
tmk_core/common/progmem.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef PROGMEM_H
|
||||
#define PROGMEM_H 1
|
||||
|
||||
#if defined(__AVR__)
|
||||
# include <avr/pgmspace.h>
|
||||
#elif defined(__arm__)
|
||||
# define PROGMEM
|
||||
# define pgm_read_byte(p) *(p)
|
||||
# define pgm_read_word(p) *(p)
|
||||
#endif
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user