Skip to content
Browse files

Fix compilation warning for USI

  • Loading branch information...
1 parent 40f026b commit 9931763c0f8d80aa7475b3cbe92d59cada62476c @robertinant robertinant committed
Showing with 2 additions and 1 deletion.
  1. +2 −1 hardware/msp430/cores/msp430/twi.c
3 hardware/msp430/cores/msp430/twi.c
@@ -57,9 +57,10 @@ static uint8_t twi_masterBufferLength;
static uint8_t twi_txBuffer[TWI_BUFFER_LENGTH];
static volatile uint8_t twi_txBufferIndex;
static volatile uint8_t twi_txBufferLength;
+#if (defined(__MSP430_HAS_USCI__) || defined(__MSP430_HAS_EUSCI_B0__))
static uint8_t twi_rxBuffer[TWI_BUFFER_LENGTH];
static volatile uint8_t twi_rxBufferIndex;
static volatile uint8_t twi_error;

0 comments on commit 9931763

Please sign in to comment.
Something went wrong with that request. Please try again.