Skip to content

Commit

Permalink
PSRAM update
Browse files Browse the repository at this point in the history
In MM we can have PSRAM without defining WLED_USE_PSRAM
  • Loading branch information
softhack007 authored Dec 14, 2023
1 parent 245c0c0 commit 075cc2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wled00/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@
//this is merely a default now and can be changed at runtime
#ifndef LEDPIN

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

0 comments on commit 075cc2d

Please sign in to comment.