Sfoglia il codice sorgente

Apply 1 suggestion(s) to 1 file(s)

Pedro Minatel 5 anni fa
parent
commit
42b85a82ae

+ 1 - 1
examples/storage/partition_api/partition_find/main/main.c

@@ -50,7 +50,7 @@ static void find_partition(esp_partition_type_t type, esp_partition_subtype_t su
 
     const esp_partition_t * part  = esp_partition_find_first(type, subtype, name);
 
-    if(part != NULL) {
+    if (part != NULL) {
         ESP_LOGI(TAG, "\tfound partition '%s' at offset 0x%x with size 0x%x", part->label, part->address, part->size);
     } else {
         ESP_LOGE(TAG, "\tpartition not found!");