forked from mirrors/qmk_userspace
Fix common files for mbed
This commit is contained in:
parent
ee70fe59ee
commit
e81c70149e
23 changed files with 323 additions and 110 deletions
11
common/progmem.h
Normal file
11
common/progmem.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#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)
|
||||
#endif
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue