1
0
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:
Clyde Stubbs
2023-09-29 10:36:31 +10:00
committed by GitHub
parent 4335543575
commit 507dc5f496
4 changed files with 4 additions and 6 deletions

View File

@@ -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")

View File

@@ -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;
};