splitflap icon indicating copy to clipboard operation
splitflap copied to clipboard

marking -DENABLE_DISPLAY as false won't compile

Open chaos-dotcom opened this issue 1 year ago • 0 comments

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

chaos-dotcom avatar Oct 26 '24 09:10 chaos-dotcom