mirror of https://github.com/ARMmbed/mbed-os.git
SPI - fix type in start transfer
parent
a3bd9db020
commit
bd7a82166a
|
@ -128,7 +128,7 @@ public:
|
||||||
if (spi_active(&_spi)) {
|
if (spi_active(&_spi)) {
|
||||||
return queue_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
|
return queue_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
|
||||||
}
|
}
|
||||||
start_transfer(tx_buffer, tx_length, rx_buffer, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
|
start_transfer(tx_buffer, tx_length, rx_buffer, rx_length, sizeof(Type)*8, callback, event);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue