Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

marking -DENABLE_DISPLAY as false won't compile #246

Open
Johnr24 opened this issue Oct 26, 2024 · 0 comments
Open

marking -DENABLE_DISPLAY as false won't compile #246

Johnr24 opened this issue Oct 26, 2024 · 0 comments

Comments

@Johnr24
Copy link
Contributor

Johnr24 commented Oct 26, 2024

My TTGO is inside a case so the display isnt on (the display also broke) so I was wanting to turn it off, however when I mark -DENABLE_DISPLAY=false in platformio.ini this then means that it won't compile I get this error message

Compiling .pio/build/chainlink/src/Adafruit_INA219.cpp.o
firmware/esp32/splitflap/main.cpp:50:34: error: 'displayTask' was not declared in this scope
HTTPTask httpTask(splitflapTask, displayTask, serialTask, 0);
^
*** [.pio/build/chainlink/esp32/splitflap/main.cpp.o] Error 1
In file included from firmware/esp32/splitflap/display_task.cpp:21:0:
firmware/esp32/splitflap/display_layouts.h:56:13: warning: 'void getLayoutPositionDualRowZigZag(bool, uint8_t, uint8_t*, uint8_t*)' defined but not used [-Wunused-function]
static void getLayoutPositionDualRowZigZa

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant