BUG: ch341_spi_transfer_one_message calls spi_transfer with bad nsegs value
LouisLambda opened this issue · 0 comments
LouisLambda commented
ch341-i2c-spi-gpio/ch341-spi.c
Line 178 in db2a81c
that last argument (buf_idx - tx_len
) is the nsegs
argument for spi_transfer
. I think that's not calculated properly.