From e6d53c6c061c956f15e0e7375e4e531cc97b2f26 Mon Sep 17 00:00:00 2001 From: Leonhard Seidel Date: Sun, 26 Nov 2023 15:21:14 +0100 Subject: [PATCH] Update pgmspace.h Some macros were missing from the compatibility header --- api/deprecated-avr-comp/avr/pgmspace.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/deprecated-avr-comp/avr/pgmspace.h b/api/deprecated-avr-comp/avr/pgmspace.h index 95897d75..a80e4a51 100644 --- a/api/deprecated-avr-comp/avr/pgmspace.h +++ b/api/deprecated-avr-comp/avr/pgmspace.h @@ -30,7 +30,9 @@ #include #define PROGMEM +#define __ATTR_PROGMEM__ #define PGM_P const char * +#define PGM_VOID_P const void * #define PSTR(str) (str) #define _SFR_BYTE(n) (n)