Fix typo in uart.c backport and add 32A "support" (#8219)
[jackhill/qmk/firmware.git] / tmk_core / common / progmem.h
CommitLineData
c9e3fa6f 1#pragma once
a074364c 2
3#if defined(__AVR__)
b624f32f 4# include <avr/pgmspace.h>
fdfd48e8 5#else
b624f32f 6# define PROGMEM
7# define pgm_read_byte(p) *((unsigned char*)(p))
8# define pgm_read_word(p) *((uint16_t*)(p))
9# define pgm_read_dword(p) *((uint32_t*)(p))
a074364c 10#endif