Fix PSRAM support

This commit is contained in:
me-no-dev
2020-05-14 19:02:35 +03:00
parent 5abe013f78
commit a761281d8c
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);