From 102380a325e9b0943e5539e03894bd0f0bd9a623 Mon Sep 17 00:00:00 2001 From: andrey Date: Fri, 6 Nov 2020 17:33:56 +0300 Subject: [PATCH] esp --- libs/main/system/pisysteminfo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/main/system/pisysteminfo.cpp b/libs/main/system/pisysteminfo.cpp index 9a1271f7..aec6aeb2 100644 --- a/libs/main/system/pisysteminfo.cpp +++ b/libs/main/system/pisysteminfo.cpp @@ -198,7 +198,7 @@ PIVector PISystemInfo::mountInfo(bool ignore_cache) { esp_chip_info_t chip_info; esp_chip_info(&chip_info); m.device = ((chip_info.features & CHIP_FEATURE_EMB_FLASH) ? "embedded SPI flash" : "external SPI flash"); - m.space_all = esp_flash_get_chip_size(); + m.space_all = spi_flash_get_chip_size(); m.mount_point = "/"; ret << m; #endif