|
|
|
@ -36,6 +36,7 @@ extern char *strncpy_P(char *dest, PGM_P src, size_t n);
@@ -36,6 +36,7 @@ extern char *strncpy_P(char *dest, PGM_P src, size_t n);
|
|
|
|
|
extern void *memcpy_P(void *dest, PGM_P src, size_t n); |
|
|
|
|
|
|
|
|
|
static inline uint8_t pgm_read_byte(PGM_P s) { return (uint8_t)*s; } |
|
|
|
|
static inline uint8_t pgm_read_byte_far(const void *s) { return *(const uint8_t *)s; } |
|
|
|
|
static inline uint16_t pgm_read_word(const void *s) { return *(const uint16_t *)s; } |
|
|
|
|
|
|
|
|
|
#define GETBYTE(flag, mask, pnt) ({ \ |
|
|
|
|