Skip to content

Commit

Permalink
Merge pull request #6 from nanoframework/nfbot/clang-format-fix/a3c2d…
Browse files Browse the repository at this point in the history
…37a-b4a6-4816-813a-286ec24595f2

Code style fixes for nanoframework/nf-interpreter PR#2837
  • Loading branch information
alberk8 authored Dec 3, 2023
2 parents 03ccaa0 + b51e67b commit a388aa9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions targets/ESP32/_Network/NF_ESP32_Wireless.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,12 @@ esp_err_t NF_ESP32_InitaliseWifi()
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();

#if CONFIG_SPIRAM_IGNORE_NOTFOUND
//The comment out function below is only avaliable in ESP IDF 5.1x
//if (!esp_psram_is_initialized()){
// The comment out function below is only avaliable in ESP IDF 5.1x
// if (!esp_psram_is_initialized()){
if (heap_caps_get_total_size(MALLOC_CAP_SPIRAM) == 0)
{
cfg.cache_tx_buf_num = 0;
cfg.feature_caps &= ~CONFIG_FEATURE_CACHE_TX_BUF_BIT;
cfg.cache_tx_buf_num = 0;
cfg.feature_caps &= ~CONFIG_FEATURE_CACHE_TX_BUF_BIT;
}
#endif

Expand Down

0 comments on commit a388aa9

Please sign in to comment.