From 17a62a649cc80aaf606d1dbfdddf3e9fc00896f0 Mon Sep 17 00:00:00 2001 From: Ivan Delamer Date: Tue, 10 Jul 2012 14:36:47 -0600 Subject: [PATCH] ATmega128RFA1 bug fix: no interrupt pin used (embedded radio). Enabling interrupt caused MCU reset if using pin as GPIO. --- cpu/avr/radio/rf230bb/halbb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/avr/radio/rf230bb/halbb.c b/cpu/avr/radio/rf230bb/halbb.c index f33660cea..4b31fd9ed 100644 --- a/cpu/avr/radio/rf230bb/halbb.c +++ b/cpu/avr/radio/rf230bb/halbb.c @@ -217,7 +217,7 @@ hal_init(void) // TCCR1B = HAL_TCCR1B_CONFIG; /* Set clock prescaler */ // TIFR1 |= (1 << ICF1); /* Clear Input Capture Flag. */ // HAL_ENABLE_OVERFLOW_INTERRUPT(); /* Enable Timer1 overflow interrupt. */ - hal_enable_trx_interrupt(); /* Enable interrupts from the radio transceiver. */ + //hal_enable_trx_interrupt(); /* NOT USED: Enable interrupt pin from the radio transceiver. */ } #elif defined(__AVR__)