We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 27d7e02 commit f19e8c9Copy full SHA for f19e8c9
src/ace_routine/compat.h
@@ -73,6 +73,11 @@ class __FlashStringHelper;
73
#else
74
#warning Untested platform, AceRoutine may still work...
75
#ifndef FPSTR
76
+ /**
77
+ * A macro that converts a `const char*` that already points to a PROGMEM
78
+ * string to a `const __FlashStringHelper*` which can be passed to
79
+ * overloaded functions and methods.
80
+ */
81
#define FPSTR(p) (reinterpret_cast<const __FlashStringHelper *>(p))
82
#endif
83
#include <avr/pgmspace.h>
0 commit comments