81 ESP_LOGI(TAG, "Partition size: %d, used: %d - %d%%", total, used, (used * 100) / total); |
81 ESP_LOGI(TAG, "Partition size: %d, used: %d - %d%%", total, used, (used * 100) / total); |
82 } |
82 } |
83 TFT_print("Ok\r\n", LASTX, LASTY); |
83 TFT_print("Ok\r\n", LASTX, LASTY); |
84 |
84 |
85 // Just to debug, list the /spiffs filesystem. |
85 // Just to debug, list the /spiffs filesystem. |
86 #if 0 |
86 #if 1 |
87 DIR *dir = opendir("/spiffs"); |
87 DIR *dir = opendir("/spiffs"); |
88 struct dirent* de = readdir(dir); |
88 struct dirent* de = readdir(dir); |
89 while (de) { |
89 while (de) { |
90 if (de->d_type == DT_REG) { |
90 if (de->d_type == DT_REG) { |
91 printf("F "); |
91 printf("F "); |