From 018e6617666c322b16359608842907c9b8c3e91c Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 2 Oct 2021 22:32:06 +0200 Subject: msp430fr spi: Use 16-bit lengths --- include/arch/msp430fr5994lp/driver/spi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/arch/msp430fr5994lp/driver') diff --git a/include/arch/msp430fr5994lp/driver/spi.h b/include/arch/msp430fr5994lp/driver/spi.h index 32b9f94..7e95105 100644 --- a/include/arch/msp430fr5994lp/driver/spi.h +++ b/include/arch/msp430fr5994lp/driver/spi.h @@ -14,8 +14,8 @@ class SPI { SPI () {} void setup(); signed char xmit( - unsigned char tx_len, unsigned char *tx_buf, - unsigned char rx_len, unsigned char *rx_buf); + unsigned int tx_len, unsigned char *tx_buf, + unsigned int rx_len, unsigned char *rx_buf); }; extern SPI spi; -- cgit v1.2.3