Skip to content

Commit

Permalink
moved register override into 8266 section,
Browse files Browse the repository at this point in the history
so it cannot destroy builds for ESP32 devices
  • Loading branch information
softhack007 committed Mar 21, 2023
1 parent bf789ca commit 646cf44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion platformio.ini
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ build_flags =
-DESP8266
-DFP_IN_IROM
;-Wno-deprecated-declarations
;-Wno-register
-Wno-register ;; leaves some warnings when compiling C files: command-line option '-Wno-register' is valid for C++/ObjC++ but not for C
;-Dregister= # remove warnings in C++17 due to use of deprecated register keyword by the FastLED library ;; warning: this can be dangerous
-Wno-misleading-indentation
; NONOSDK22x_190703 = 2.2.2-dev(38a443e)
-DPIO_FRAMEWORK_ARDUINO_ESPRESSIF_SDK22x_190703
Expand Down

0 comments on commit 646cf44

Please sign in to comment.