Skip to content

Commit 7dde89d

Browse files
committed
Fix F macro definition
1 parent c8a1dd9 commit 7dde89d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/arduino/Arduino.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
#include <avr/interrupt.h>
2828

2929
#undef F
30-
#define F(str) (str)
30+
#define F(str) (const __FlashStringHelper*)(str)
3131

3232
#ifdef __cplusplus
3333
extern "C"{

0 commit comments

Comments
 (0)