LennartHennigs / ESPTelnet

ESP library that allows you to setup a telnet server for debugging.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PlatformIO - error: #if with no expression #if DEBUG_ON

dewenni opened this issue · comments

I tried to use this library in my ESP32 project that is programmed with Visual Studio Code and PlatformIO

When I compile the project I get the following compiler error:

.pio/libdeps/esp32/ESP Telnet/src/DebugMacros.h:29:13: error: #if with no expression
 #if DEBUG_ON
             ^

my platformio.ini

[env:esp32]
platform = espressif32@5.4.0
board = upesy_wroom
framework = arduino
monitor_speed = 115200
monitor_filters = esp32_exception_decoder, colorize
build_type = release
board_build.partitions = min_spiffs.csv

Thanks, I will test it asap

@LennartHennigs
I have just tested it and it now compiles without errors. Seems to be solved with the changes.
Thank you very much

Ok. Will merge it then.