Closed jp-bennett closed 6 months ago
Much simpler, moved the gnarly bits down into the Portduino layer. Also unified the approach between the touch and panel SPI layers.
Looks better now :)
@tobozo what do we think about this approach?
@jp-bennett much lighter, less is more :+1:
@mverch67 thanks for helping with the review :heart:
@mverch and I hashed out the SPI device problem, and what we came up with was a scheme to encode the SPI bus as the lower 4 bits of spi_host, and the device as the upper 4 bits. The change on the Portduino side was to make sure that multiple HardwareSPI objects could be created, and safely point to the same device.