mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-01 18:48:28 +02:00
Avoid non-const globals and enable clang-tidy check (#1892)
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
namespace esphome {
|
||||
namespace spi {
|
||||
|
||||
static const char *TAG = "spi";
|
||||
static const char *const TAG = "spi";
|
||||
|
||||
void ICACHE_RAM_ATTR HOT SPIComponent::disable() {
|
||||
if (this->hw_spi_ != nullptr) {
|
||||
|
||||
Reference in New Issue
Block a user