frank-zago / ch341-i2c-spi-gpio

WinChipHead CH341 linux driver for I2C, SPI and GPIO mode
GNU General Public License v2.0
69 stars 30 forks source link

spi-ch341.c : error with kernel 6.8.0 #37

Closed Tian-HP closed 5 months ago

Tian-HP commented 5 months ago

Linux version 6.8.0 spi-ch341.c:196:54: error: array subscript is not an integer spi-ch341.c:515:25: error: implicit declaration of function ‘gpiochip_find’; did you mean ‘gpiochip_add’?

frank-zago commented 5 months ago

I pushed an update to fix that.

Tian-HP commented 5 months ago

I got it.