This commit is contained in:
2020-11-06 17:29:53 +03:00
parent 04c08742ac
commit 555dc74086

View File

@@ -198,7 +198,7 @@ PIVector<PISystemInfo::MountInfo> 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 = esp_flash_get_size();
m.mount_point = "/";
ret << m;
#endif