Skip to content

Commit 075cc2d

Browse files
authored
PSRAM update
In MM we can have PSRAM without defining WLED_USE_PSRAM
1 parent 245c0c0 commit 075cc2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wled00/const.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@
471471
//this is merely a default now and can be changed at runtime
472472
#ifndef LEDPIN
473473

474-
#if defined(ESP8266) || (defined(ARDUINO_ARCH_ESP32) && defined(WLED_USE_PSRAM)) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(ARDUINO_ESP32_PICO)
474+
#if defined(ESP8266) || (defined(ARDUINO_ARCH_ESP32) && defined(BOARD_HAS_PSRAM)) || defined(CONFIG_IDF_TARGET_ESP32C3) || defined(ARDUINO_ESP32_PICO) //WLEDMM
475475
#define LEDPIN 2 // GPIO2 (D4) on Wemos D1 mini compatible boards, and on boards where GPIO16 is not available
476476
#else
477477
#define LEDPIN 16 // aligns with GPIO2 (D4) on Wemos D1 mini32 compatible boards

0 commit comments

Comments
 (0)