mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-18 07:52:14 +01:00
Merge pull request #110 from WizenedEE/master
Add const qualifier in F() macro. http://code.google.com/p/arduino/issues/detail?id=866
This commit is contained in:
commit
bc79a998e9
@ -35,7 +35,7 @@
|
|||||||
// -std=c++0x
|
// -std=c++0x
|
||||||
|
|
||||||
class __FlashStringHelper;
|
class __FlashStringHelper;
|
||||||
#define F(string_literal) (reinterpret_cast<__FlashStringHelper *>(PSTR(string_literal)))
|
#define F(string_literal) (reinterpret_cast<const __FlashStringHelper *>(PSTR(string_literal)))
|
||||||
|
|
||||||
// An inherited class for holding the result of a concatenation. These
|
// An inherited class for holding the result of a concatenation. These
|
||||||
// result objects are assumed to be writable by subsequent concatenations.
|
// result objects are assumed to be writable by subsequent concatenations.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user