Searched refs:efs (Results 1 – 1 of 1) sorted by relevance
98 static void esp_spiffs_free(esp_spiffs_t ** efs) in esp_spiffs_free() argument100 esp_spiffs_t * e = *efs; in esp_spiffs_free()101 if (*efs == NULL) { in esp_spiffs_free()104 *efs = NULL; in esp_spiffs_free()182 esp_spiffs_t * efs = malloc(sizeof(esp_spiffs_t)); in esp_spiffs_init() local183 if (efs == NULL) { in esp_spiffs_init()187 memset(efs, 0, sizeof(esp_spiffs_t)); in esp_spiffs_init()189 efs->cfg.hal_erase_f = spiffs_api_erase; in esp_spiffs_init()190 efs->cfg.hal_read_f = spiffs_api_read; in esp_spiffs_init()191 efs->cfg.hal_write_f = spiffs_api_write; in esp_spiffs_init()[all …]