mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-31 18:18:27 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -15,9 +15,9 @@
|
||||
namespace esphome {
|
||||
namespace ota {
|
||||
|
||||
static const char *TAG = "ota";
|
||||
static const char *const TAG = "ota";
|
||||
|
||||
uint8_t OTA_VERSION_1_0 = 1;
|
||||
static const uint8_t OTA_VERSION_1_0 = 1;
|
||||
|
||||
void OTAComponent::setup() {
|
||||
this->server_ = new WiFiServer(this->port_);
|
||||
|
||||
Reference in New Issue
Block a user