notifyBar error: 'WiFi' was not declared
Closed this issue · 0 comments
hpsaturn commented
Overview
When we disabling the CLI with build flags we have this issue
Details
Comment the build flags of CLI to replicate this build issue.
Log output
Compiling .pio/build/MAKERF_ESP32S3/FrameworkArduino/FirmwareMSC.cpp.o
lib/gui/src/notifyBar.cpp: In function 'void updateNotifyBar(lv_event_t*)':
lib/gui/src/notifyBar.cpp:78:9: error: 'WiFi' was not declared in this scope
if (WiFi.status() == WL_CONNECTED)
^~~~
lib/gui/src/notifyBar.cpp:78:9: note: suggested alternative: 'wifi'
if (WiFi.status() == WL_CONNECTED)
^~~~
wifi
lib/gui/src/notifyBar.cpp:78:26: error: 'WL_CONNECTED' was not declared in this scope
if (WiFi.status() == WL_CONNECTED)
^~~~~~~~~~~~
*** [.pio/build/MAKERF_ESP32S3/libe13/gui/notifyBar.cpp.o] Error 1