mirror of
https://github.com/esphome/esphome.git
synced 2025-02-06 00:02:56 +01:00
clang-format
This commit is contained in:
parent
b2a3161cf3
commit
af1c1e8182
@ -53,7 +53,7 @@ void DebugComponent::dump_config() {
|
||||
|
||||
#ifdef USE_ESP32
|
||||
this->log_partition_info_(); // Log partition information for ESP32
|
||||
#endif // USE_ESP32
|
||||
#endif // USE_ESP32
|
||||
}
|
||||
|
||||
void DebugComponent::loop() {
|
||||
|
@ -35,12 +35,8 @@ void DebugComponent::log_partition_info_() {
|
||||
esp_partition_iterator_t it = esp_partition_find(ESP_PARTITION_TYPE_ANY, ESP_PARTITION_SUBTYPE_ANY, NULL);
|
||||
while (it != NULL) {
|
||||
const esp_partition_t *partition = esp_partition_get(it);
|
||||
ESP_LOGCONFIG(TAG, " %-12s %-4d %-8d 0x%08X 0x%08X",
|
||||
partition->label,
|
||||
partition->type,
|
||||
partition->subtype,
|
||||
partition->address,
|
||||
partition->size);
|
||||
ESP_LOGCONFIG(TAG, " %-12s %-4d %-8d 0x%08X 0x%08X", partition->label, partition->type, partition->subtype,
|
||||
partition->address, partition->size);
|
||||
it = esp_partition_next(it);
|
||||
}
|
||||
esp_partition_iterator_release(it);
|
||||
|
Loading…
Reference in New Issue
Block a user