From 1ff87e3e72a9681dfa0ba1d8b2a10a8e8401611b Mon Sep 17 00:00:00 2001 From: Fede85 Date: Wed, 10 Oct 2012 17:35:34 +0200 Subject: [PATCH] modified TWI handler --- hardware/arduino/sam/variants/arduino_due_x/variant.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hardware/arduino/sam/variants/arduino_due_x/variant.h b/hardware/arduino/sam/variants/arduino_due_x/variant.h index e7d720ff2..8ac0fd30f 100644 --- a/hardware/arduino/sam/variants/arduino_due_x/variant.h +++ b/hardware/arduino/sam/variants/arduino_due_x/variant.h @@ -119,13 +119,13 @@ static const uint8_t SCK = PIN_SPI_SCK ; #define PIN_WIRE_SCL (21u) #define WIRE_INTERFACE TWI1 #define WIRE_INTERFACE_ID ID_TWI1 -#define WIRE_ISR_HANDLER TWI1_IrqHandler +#define WIRE_ISR_HANDLER TWI1_Handler #define PIN_WIRE1_SDA (70u) #define PIN_WIRE1_SCL (71u) #define WIRE1_INTERFACE TWI0 #define WIRE1_INTERFACE_ID ID_TWI0 -#define WIRE1_ISR_HANDLER TWI0_IrqHandler +#define WIRE1_ISR_HANDLER TWI0_Handler /* * UART/USART Interfaces