main/config.c

changeset 7
6eafc4c2bf3d
parent 4
2a57c466bf45
child 8
c6bbd1380f22
equal deleted inserted replaced
6:06a5028dbcdf 7:6eafc4c2bf3d
96 } else { 96 } else {
97 dst = (uint8_t*)&units; 97 dst = (uint8_t*)&units;
98 size_t bytes = fread(dst, 1, sizeof(units), f); 98 size_t bytes = fread(dst, 1, sizeof(units), f);
99 fclose(f); 99 fclose(f);
100 ESP_LOGI(TAG, "/spiffs/etc/units.conf read %d bytes", bytes); 100 ESP_LOGI(TAG, "/spiffs/etc/units.conf read %d bytes", bytes);
101 ESP_LOGI(TAG, "%s %s", units[0].uuid, units[0].alias);
102 } 101 }
103 } 102 }
104 103
105 104
106 105

mercurial