Browse Source

spi.c: update spi_write()

Signed-off-by: surenyi <surenyi82@qq.com>
master
surenyi 3 years ago
parent
commit
671d03c99e
  1. 2
      src/spi.c

2
src/spi.c

@ -356,8 +356,6 @@ int spi_write(int dev_id, const void *buf, int _len)
return -1;
}
spi = &__spi_devs[dev_id];
switch (spi->bits) {
case 8:
u8 = buf;

Loading…
Cancel
Save