Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

progmem.h 183B

1234567891011
  1. #ifndef PROGMEM_H
  2. #define PROGMEM_H 1
  3. #if defined(__AVR__)
  4. # include <avr/pgmspace.h>
  5. #elif defined(__arm__)
  6. # define PROGMEM
  7. # define pgm_read_byte(p) *(p)
  8. #endif
  9. #endif