Fix PSRAM support

This commit is contained in:
me-no-dev
2020-05-14 19:02:35 +03:00
parent 176e5b0e79
commit cebaf93dd8
3 changed files with 32 additions and 8 deletions

View File

@@ -210,7 +210,7 @@ void initArduino()
#ifdef F_CPU
setCpuFrequencyMhz(F_CPU/1000000);
#endif
#if CONFIG_SPIRAM_SUPPORT
#if CONFIG_SPIRAM_SUPPORT || CONFIG_SPIRAM
psramInit();
#endif
esp_log_level_set("*", CONFIG_LOG_DEFAULT_LEVEL);