10 Jul 2012 22:37
[17a62a6] halbb.c: ATmega128RFA1 bug fix: no interrupt pin used (embedded ra...
Summary of changes: cpu/avr/radio/rf230bb/halbb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) - Log ----------------------------------------------------------------- commit 17a62a649cc80aaf606d1dbfdddf3e9fc00896f0 Author: Ivan Delamer <delamer@...> Date: Tue Jul 10 14:36:47 2012 -0600 ATmega128RFA1 bug fix: no interrupt pin used (embedded radio). Enabling interrupt caused MCU reset if using pin as GPIO. diff --git a/cpu/avr/radio/rf230bb/halbb.c b/cpu/avr/radio/rf230bb/halbb.c index f33660c..4b31fd9 100644 --- a/cpu/avr/radio/rf230bb/halbb.c +++ b/cpu/avr/radio/rf230bb/halbb.c <at> <at> -217,7 +217,7 <at> <at> 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__) ----------------------------------------------------------------------- -- -- contiki(Continue reading)
RSS Feed