mirror of
https://github.com/esphome/esphome.git
synced 2025-10-30 14:43:51 +00: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