mirror of
https://github.com/esphome/esphome.git
synced 2024-12-26 07:24:54 +01:00
openthread: apply clang-format suggestions
This commit is contained in:
parent
06b10bfd90
commit
50ffe4b946
4 changed files with 2 additions and 9 deletions
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
#pragma once
|
|
Loading…
Reference in a new issue