File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ static PyObject *
112112SPI_writebytes (SPI * self , PyObject * args )
113113{
114114 int status ;
115- uint8_t ii , len ;
115+ uint16_t ii , len ;
116116 uint8_t buf [MAXMSGLEN ];
117117 PyObject * list ;
118118
@@ -206,7 +206,7 @@ PyDoc_STRVAR(SPI_xfer_doc,
206206static PyObject *
207207SPI_xfer (SPI * self , PyObject * args )
208208{
209- uint8_t ii , len ;
209+ uint16_t ii , len ;
210210 int status ;
211211 int delay = -1 ;
212212 //uint8_t ret = 0;
@@ -292,7 +292,7 @@ SPI_xfer2(SPI *self, PyObject *args)
292292 static char * msg = "Argument must be a list of at least one, "
293293 "but not more than 1024 integers" ;
294294 int status ;
295- uint8_t ii , len ;
295+ uint16_t ii , len ;
296296 PyObject * list ;
297297 struct spi_ioc_transfer xfer ;
298298 uint8_t * txbuf , * rxbuf ;
You can’t perform that action at this time.
0 commit comments