]> granicus.if.org Git - esp-idf/commitdiff
bootloader: Fix accidental tabs introduced in !78
authorAngus Gratton <angus@espressif.com>
Wed, 5 Oct 2016 22:55:43 +0000 (09:55 +1100)
committerAngus Gratton <angus@espressif.com>
Mon, 10 Oct 2016 20:56:08 +0000 (07:56 +1100)
components/bootloader/src/main/bootloader_start.c

index e0ab7f9e2a23963860fc185c4837f06b18540650..a61ea77d59a8f33160c93942d7e8edc621722691 100644 (file)
@@ -411,15 +411,15 @@ void unpack_load_app(const partition_pos_t* partition)
             map = true;
         }
 
-               if(!load_rtc_memory && address >= RTC_IRAM_LOW && address < RTC_IRAM_HIGH) {
-                       ESP_LOGD(TAG, "Skipping RTC code section at %08x\n", pos);
-                       load = false;
-               }
-
-               if(!load_rtc_memory && address >= RTC_DATA_LOW && address < RTC_DATA_HIGH) {
-                       ESP_LOGD(TAG, "Skipping RTC data section at %08x\n", pos);
-                       load = false;
-               }
+        if (!load_rtc_memory && address >= RTC_IRAM_LOW && address < RTC_IRAM_HIGH) {
+            ESP_LOGD(TAG, "Skipping RTC code section at %08x\n", pos);
+            load = false;
+        }
+
+        if (!load_rtc_memory && address >= RTC_DATA_LOW && address < RTC_DATA_HIGH) {
+            ESP_LOGD(TAG, "Skipping RTC data section at %08x\n", pos);
+            load = false;
+        }
 
         ESP_LOGI(TAG, "section %d: paddr=0x%08x vaddr=0x%08x size=0x%05x (%6d) %s", section_index, pos,
                  section_header.load_addr, section_header.data_len, section_header.data_len, (load)?"load":(map)?"map":"");