main/brewboard.c

changeset 47
2aab3b5af4b5
parent 42
c6a1a6ca5437
child 48
edbd87949204
equal deleted inserted replaced
45:71b4c3d1b429 47:2aab3b5af4b5
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 ");

mercurial