mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-06-07 21:33:32 +02:00
Partially revert make SPI CS pin optional (#1187)
This commit is contained in:
@@ -14,7 +14,7 @@ MCP3008 = mcp3008_ns.class_('MCP3008', cg.Component, spi.SPIDevice)
|
||||
|
||||
CONFIG_SCHEMA = cv.Schema({
|
||||
cv.GenerateID(): cv.declare_id(MCP3008),
|
||||
}).extend(spi.spi_device_schema(CS_PIN_required=True))
|
||||
}).extend(spi.spi_device_schema(cs_pin_required=True))
|
||||
|
||||
|
||||
def to_code(config):
|
||||
|
||||
Reference in New Issue
Block a user