Skip to content

Commit 2130f3e

Browse files
CzBiXearlephilhower
authored andcommitted
Fix typo in doc (#6313)
1 parent 29bedfa commit 2130f3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/PROGMEM.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ the ``F()`` macro and possibly the FPSTR() macro. These are defined in `WString.
116116
#define FPSTR(pstr_pointer) (reinterpret_cast<const __FlashStringHelper *>(pstr_pointer))
117117
#define F(string_literal) (FPSTR(PSTR(string_literal)))
118118
119-
So ``FSPTR()`` takes a PROGMEM pointer to a string and casts it to this
119+
So ``FPSTR()`` takes a PROGMEM pointer to a string and casts it to this
120120
``__FlashStringHelper`` class. Thus if you have defined a string as
121121
above ``xyz`` you can use ``FPSTR()`` to convert it to
122122
``__FlashStringHelper`` for passing into functions that take it.

0 commit comments

Comments
 (0)