Skip to content

Commit 8ba9615

Browse files
committed
allow USE_PGM for debug and macro expansion
1 parent fd59918 commit 8ba9615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/macros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#if defined(ESP8266) | defined(CORE_TEENSY)
88
#define typeof(x) __typeof__(x)
99
#endif
10-
#if defined(pgm_read_ptr_near) && !defined(MENU_USERAM)
10+
#if defined(USE_PGM) || (defined(pgm_read_ptr_near) && !defined(MENU_USERAM))
1111
//storing some values into avr flash memory (saving ram space)
1212
#define USING_PGM
1313
#define MEMMODE PROGMEM

0 commit comments

Comments
 (0)