Skip to content

Commit

Permalink
Replace '-' in macro name with '_' for board "TTGO T-Watch"
Browse files Browse the repository at this point in the history
Replace '-' in macro name with '_' for board "TTGO T-Watch"

Fixes compiler warnings:

    <command-line>:0:10: warning: ISO C++11 requires whitespace after the macro name

This is similar to platformio#81
  • Loading branch information
treibholz committed Nov 25, 2020
1 parent 25e0989 commit 2bebc2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boards/ttgo-t-watch.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"ldscript": "esp32_out.ld"
},
"core": "esp32",
"extra_flags": "-DARDUINO_T-Watch -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"extra_flags": "-DARDUINO_T_Watch -DBOARD_HAS_PSRAM -mfix-esp32-psram-cache-issue",
"f_cpu": "240000000L",
"f_flash": "40000000L",
"flash_mode": "dio",
Expand Down

0 comments on commit 2bebc2b

Please sign in to comment.