diff --git a/components/dmamatrix/display.py b/components/dmamatrix/display.py index 85f2028..c6c7ede 100644 --- a/components/dmamatrix/display.py +++ b/components/dmamatrix/display.py @@ -135,8 +135,6 @@ def to_code(config): if CONF_BRIGHTNESS in config: cg.add(var.set_brightness(config[CONF_BRIGHTNESS])) - - cg.add_library("adafruit/SD", "0.0.0-alpha+sha.041f788250") cg.add_library("Spi", "1.0") cg.add_library("Wire", "1.0") cg.add_library("Adafruit BusIO", "1.10.1") diff --git a/components/dmamatrix/dmamatrix.cpp b/components/dmamatrix/dmamatrix.cpp index 9a49366..90f908d 100644 --- a/components/dmamatrix/dmamatrix.cpp +++ b/components/dmamatrix/dmamatrix.cpp @@ -39,10 +39,6 @@ void DmaMatrixDisplay::setup() { HUB75_I2S_CFG::FM6124, true ); - - if (!SD.begin(4)) { - ESP_LOGCONFIG(TAG,"initialization failed!"); - } mxconfig.clkphase = false; diff --git a/components/dmamatrix/dmamatrix.h b/components/dmamatrix/dmamatrix.h index 043d30a..97f4146 100644 --- a/components/dmamatrix/dmamatrix.h +++ b/components/dmamatrix/dmamatrix.h @@ -7,7 +7,6 @@ #include "esphome/core/color.h" #include "esphome/components/display/display_color_utils.h" -#include #include // NOLINT namespace esphome {