openthread: apply clang-format suggestions

This commit is contained in:
Mathieu Rene 2024-10-05 09:14:04 -04:00
parent 06b10bfd90
commit 50ffe4b946
4 changed files with 2 additions and 9 deletions

View file

@ -126,10 +126,7 @@ void MDNSComponent::dump_config() {
} }
} }
std::vector<MDNSService> MDNSComponent::get_services() { std::vector<MDNSService> MDNSComponent::get_services() { return this->services_; }
return this->services_;
}
} // namespace mdns } // namespace mdns
} // namespace esphome } // namespace esphome

View file

@ -1,8 +1,6 @@
#include "openthread.h" #include "openthread.h"
#ifdef USE_ESP_IDF #ifndef USE_ESP_IDF
#include "openthread_esp.h"
#else
#error "OpenThread is not supported on this platform" #error "OpenThread is not supported on this platform"
#endif #endif

View file

@ -1,5 +1,4 @@
// #ifdef USE_ESP_IDF // #ifdef USE_ESP_IDF
#include "openthread_esp.h"
#include "openthread.h" #include "openthread.h"
#include <openthread/logging.h> #include <openthread/logging.h>

View file

@ -1 +0,0 @@
#pragma once