mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00:00
SPI fixes for buggy components (#5446)
This commit is contained in:
@@ -28,7 +28,7 @@ from esphome.const import (
|
||||
)
|
||||
from esphome.core import coroutine_with_priority, CORE
|
||||
|
||||
CODEOWNERS = ["@esphome/core"]
|
||||
CODEOWNERS = ["@esphome/core", "@clydebarrow"]
|
||||
spi_ns = cg.esphome_ns.namespace("spi")
|
||||
SPIComponent = spi_ns.class_("SPIComponent", cg.Component)
|
||||
SPIDevice = spi_ns.class_("SPIDevice")
|
||||
|
||||
@@ -248,6 +248,7 @@ class SPIDelegateDummy : public SPIDelegate {
|
||||
SPIDelegateDummy() = default;
|
||||
|
||||
uint8_t transfer(uint8_t data) override { return 0; }
|
||||
void end_transaction() override{};
|
||||
|
||||
void begin_transaction() override;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user