[spi] Shorten platform backend TAG strings (#18442)

This commit is contained in:
J. Nick Koston
2026-08-17 11:53:48 -05:00
committed by GitHub
parent d1a7b8df8b
commit 37bea1c153
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
namespace esphome::spi { namespace esphome::spi {
#if defined(USE_ARDUINO) && !defined(USE_ESP32) #if defined(USE_ARDUINO) && !defined(USE_ESP32)
static const char *const TAG = "spi-esp-arduino"; static const char *const TAG = "spi";
class SPIDelegateHw : public SPIDelegate { class SPIDelegateHw : public SPIDelegate {
public: public:
SPIDelegateHw(SPIInterface channel, uint32_t data_rate, SPIBitOrder bit_order, SPIMode mode, GPIOPin *cs_pin) SPIDelegateHw(SPIInterface channel, uint32_t data_rate, SPIBitOrder bit_order, SPIMode mode, GPIOPin *cs_pin)
+1 -1
View File
@@ -4,7 +4,7 @@
namespace esphome::spi { namespace esphome::spi {
#ifdef USE_ESP32 #ifdef USE_ESP32
static const char *const TAG = "spi-esp-idf"; static const char *const TAG = "spi";
static const size_t MAX_TRANSFER_SIZE = 4092; // dictated by ESP-IDF API. static const size_t MAX_TRANSFER_SIZE = 4092; // dictated by ESP-IDF API.
class SPIDelegateHw : public SPIDelegate { class SPIDelegateHw : public SPIDelegate {