mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-27 04:36:31 +00:00
Fix compilation for ESP8266
This commit is contained in:
parent
1682582bea
commit
f0f70ce1df
@ -276,7 +276,9 @@ void setup(void) {
|
|||||||
|
|
||||||
// AddLog(LOG_LEVEL_INFO, PSTR("ADR: Settings %p, Log %p"), Settings, TasmotaGlobal.log_buffer);
|
// AddLog(LOG_LEVEL_INFO, PSTR("ADR: Settings %p, Log %p"), Settings, TasmotaGlobal.log_buffer);
|
||||||
AddLog(LOG_LEVEL_INFO, PSTR("HDW: %s"), GetDeviceHardware().c_str());
|
AddLog(LOG_LEVEL_INFO, PSTR("HDW: %s"), GetDeviceHardware().c_str());
|
||||||
|
#ifdef ESP32
|
||||||
AddLog(LOG_LEVEL_DEBUG, PSTR("HDW: psramFound=%i CanUsePSRAM=%i"), psramFound(), CanUsePSRAM());
|
AddLog(LOG_LEVEL_DEBUG, PSTR("HDW: psramFound=%i CanUsePSRAM=%i"), psramFound(), CanUsePSRAM());
|
||||||
|
#endif // ESP32
|
||||||
#if defined(ESP32) && !defined(HAS_PSRAM_FIX)
|
#if defined(ESP32) && !defined(HAS_PSRAM_FIX)
|
||||||
if (psramFound() && !CanUsePSRAM()) {
|
if (psramFound() && !CanUsePSRAM()) {
|
||||||
AddLog(LOG_LEVEL_INFO, PSTR("HDW: PSRAM is disabled, requires specific compilation on this hardware (see doc)"));
|
AddLog(LOG_LEVEL_INFO, PSTR("HDW: PSRAM is disabled, requires specific compilation on this hardware (see doc)"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user