You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ESP32_SDcard_jpeg.ino returned the following error when compiling unused variable 'mcu_pixels' [-Werror=unused-variable]
#3949
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
While working with this Arduino sketch ESP32_SDcard_jpeg.ino, it returned the following error message:
ESP32_SDcard_jpeg:211:14: error: unused variable 'mcu_pixels' [-Werror=unused-variable]
uint32_t mcu_pixels = win_w * win_h;
^~~~~~~~~~
I am working with Arduino: 1.8.12 (Windows 8.1), Board: "ESP32 Wrover Kit (all versions), 4MB (32Mb), Enabled, Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS), 240MHz (WiFi/BT), QIO, 80MHz, 921600, None, Disabled"
Elecrow 3.5in. ILI9488 TFT Display with onboard ESP32-WROVER-B micro and onboard SD Card reader
C:\Users\Paul\Documents\V2VWB\V2VWB 3.0\Sketches\ESP32_SDcard_jpeg\ESP32_SDcard_jpeg.ino: In function 'void jpegRender(int, int)':
ESP32_SDcard_jpeg:211:14: error: unused variable 'mcu_pixels' [-Werror=unused-variable]
uint32_t mcu_pixels = win_w * win_h;
^~~~~~~~~~
ESP32_SDcard_jpeg-ino sketch error unused variable mcu_pixels.docx
All reactions