warning: "pgm_read_word" redefined (code from 02/04) #52
Closed
daveclifford
started this conversation in
General
Replies: 1 comment 1 reply
-
The QR lib I used defines a macro with the same name. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Executing task: platformio run --environment firebeetle2
Processing firebeetle2 (platform: espressif32@^5.3.0; board: firebeetle2; framework: arduino)
In file included from .pio/libdeps/firebeetle2/QRcode_eSPI/src/qrcode_espi.cpp:2:
.pio/libdeps/firebeetle2/QRcodeDisplay/src/qrencode.h:5: warning: "pgm_read_word" redefined
#define pgm_read_word(x) *x
In file included from /.platformio/packages/framework-arduinoespressif32/cores/esp32/WString.h:29,
from /.platformio/packages/framework-arduinoespressif32/cores/esp32/Arduino.h:166,
from .pio/libdeps/firebeetle2/QRcode_eSPI/src/qrcode_espi.cpp:1:
/.platformio/packages/framework-arduinoespressif32/cores/esp32/pgmspace.h:39: note: this is the location of the previous definition
#define pgm_read_word(addr) ({
'
'
'
Successfully created esp32 image.
Beta Was this translation helpful? Give feedback.
All reactions