mirror of
https://github.com/esphome/esphome.git
synced 2024-11-28 01:34:18 +01:00
fix clang-tidy
This commit is contained in:
parent
459d7af273
commit
8d0739aa4a
2 changed files with 4 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
#include "prometheus_handler.h"
|
||||
#ifdef USE_NETWORK
|
||||
#include "esphome/core/application.h"
|
||||
|
||||
namespace esphome {
|
||||
|
@ -350,3 +351,4 @@ void PrometheusHandler::lock_row_(AsyncResponseStream *stream, lock::Lock *obj)
|
|||
|
||||
} // namespace prometheus
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
#include <utility>
|
||||
|
||||
#include "esphome/components/web_server_base/web_server_base.h"
|
||||
#ifdef USE_NETWORK
|
||||
#include "esphome/core/component.h"
|
||||
#include "esphome/core/controller.h"
|
||||
#include "esphome/core/entity_base.h"
|
||||
|
@ -117,3 +118,4 @@ class PrometheusHandler : public AsyncWebHandler, public Component {
|
|||
|
||||
} // namespace prometheus
|
||||
} // namespace esphome
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue