mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-05 20:38:27 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
namespace esphome {
|
||||
namespace rtttl {
|
||||
|
||||
static const char *TAG = "rtttl";
|
||||
static const char *const TAG = "rtttl";
|
||||
|
||||
static const uint32_t DOUBLE_NOTE_GAP_MS = 10;
|
||||
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
namespace esphome {
|
||||
namespace rtttl {
|
||||
|
||||
extern uint32_t global_rtttl_id;
|
||||
|
||||
class Rtttl : public Component {
|
||||
public:
|
||||
void set_output(output::FloatOutput *output) { output_ = output; }
|
||||
|
||||
Reference in New Issue
Block a user