Skip to content

Commit c811a0c

Browse files
committed
back to standard arduino framework
1 parent d541c21 commit c811a0c

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

platformio.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1835,8 +1835,8 @@ lib_ignore = IRremoteESP8266 ; use with WLED_DISABLE_INFRARED for faster compila
18351835
## for testing with QEMU
18361836
[env:esp32_16MB_QEMU_debug]
18371837
extends = esp32_4MB_V4_M_base
1838-
platform = ${esp32.platformTasmota}
1839-
platform_packages = ${esp32.platform_packagesTasmota}
1838+
;; platform = ${esp32.platformTasmota}
1839+
;; platform_packages = ${esp32.platform_packagesTasmota}
18401840
board = esp32_16MB-poe ;; needed for ethernet boards (selects "esp32-poe" as variant)
18411841
board_build.partitions = ${esp32.extreme_partitions} ;; WLED extended for 16MB flash: 3.2MB firmware, 9 MB filesystem
18421842
build_unflags = ${esp32_4MB_V4_M_base.build_unflags}

wled00/wled.cpp

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "soc/rtc_cntl_reg.h"
1313
#endif
1414

15-
#if defined(WLED_DEBUG) && defined(ARDUINO_ARCH_ESP32)
15+
#if defined(WLED_DEBUG) && defined(ARDUINO_ARCH_ESP32) && !defined(WLED_QEMU)
1616
#include "../tools/ESP32-Chip_info.hpp"
1717
#endif
1818

@@ -133,7 +133,9 @@ void WLED::loop()
133133
handleRemote();
134134
#endif
135135
handleSerial();
136+
#ifndef WLEED_QEMU
136137
handleImprovWifiScan();
138+
#endif
137139

138140
#if defined(ARDUINO_ARCH_ESP32) && defined(WLEDMM_PROTECT_SERVICE) // WLEDMM experimental: handleNotifications() calls strip.show(); handleTransitions modifies segments
139141
if (!suspendStripService) {
@@ -583,7 +585,7 @@ void WLED::setup()
583585
#endif
584586
USER_PRINT(F(", speed ")); USER_PRINT(ESP.getFlashChipSpeed()/1000000);USER_PRINTLN(F("MHz."));
585587

586-
#if defined(WLED_DEBUG) && defined(ARDUINO_ARCH_ESP32)
588+
#if defined(WLED_DEBUG) && defined(ARDUINO_ARCH_ESP32) && !defined(WLED_QEMU)
587589
showRealSpeed();
588590
#endif
589591

0 commit comments

Comments
 (0)