diff options
Diffstat (limited to 'src/arch/msp430fr5994lp')
-rw-r--r-- | src/arch/msp430fr5994lp/driver/spi.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/msp430fr5994lp/driver/spi.cc b/src/arch/msp430fr5994lp/driver/spi.cc index e1ad2ad..9659ec0 100644 --- a/src/arch/msp430fr5994lp/driver/spi.cc +++ b/src/arch/msp430fr5994lp/driver/spi.cc @@ -41,8 +41,8 @@ static inline unsigned char clean_rxbuf() return UCB1RXBUF; } -signed char SPI::xmit(unsigned char tx_len, unsigned char *tx_buf, - unsigned char rx_len, unsigned char *rx_buf) +signed char SPI::xmit(unsigned int tx_len, unsigned char *tx_buf, + unsigned int rx_len, unsigned char *rx_buf) { if (tx_len < 1) { return -1; |