display: fix font bit-order (MSB=left) and remove panel mirror; rfid: probe uses HALFDUPLEX so VersionReg read is valid
This commit is contained in:
@@ -87,6 +87,7 @@ static void rfid_probe_version(void)
|
||||
.command_bits = 1, /* read/write select bit */
|
||||
.address_bits = 6, /* register address */
|
||||
.dummy_bits = 1,
|
||||
.flags = SPI_DEVICE_HALFDUPLEX, /* RX-only reads like the rc522 driver */
|
||||
};
|
||||
if (spi_bus_add_device(HW_RFID_SPI_HOST, &devcfg, &probe) != ESP_OK || probe == NULL) {
|
||||
ESP_LOGW(TAG, "probe: could not add temp SPI device on SPI3");
|
||||
|
||||
Reference in New Issue
Block a user