From aec8dd14abc9c9a4eba1b14e49af8b998922afd8 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Thu, 14 Jun 2012 20:59:39 +0200 Subject: digital/avr/modules: change deprecated signal names --- digital/avr/modules/devices/servo/servo.avr.c | 4 ++-- digital/avr/modules/uart/uart.avr.c | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'digital/avr/modules') diff --git a/digital/avr/modules/devices/servo/servo.avr.c b/digital/avr/modules/devices/servo/servo.avr.c index fc5adc78..b69fde6e 100644 --- a/digital/avr/modules/devices/servo/servo.avr.c +++ b/digital/avr/modules/devices/servo/servo.avr.c @@ -74,7 +74,7 @@ volatile uint8_t servo_position_[SERVO_NUMBER]; /** * Overflow of timer/counter 2 handler. */ -SIGNAL (SIG_OVERFLOW2); +ISR (TIMER2_OVF_vect); /** @} */ @@ -127,7 +127,7 @@ servo_get_position (uint8_t servo) } /* Overflow of timer/counter 2 handler. */ -SIGNAL (SIG_OVERFLOW2) +ISR (TIMER2_OVF_vect) { /* Overflow count (used when we wait in the lower state). -1 is used for the first count where we wait less than a complete diff --git a/digital/avr/modules/uart/uart.avr.c b/digital/avr/modules/uart/uart.avr.c index 836b19aa..ff735213 100644 --- a/digital/avr/modules/uart/uart.avr.c +++ b/digital/avr/modules/uart/uart.avr.c @@ -72,8 +72,6 @@ # define UCSRB UCSR1B # define UCSRC UCSR1C # define UDR UDR1 -# define SIG_UART_RECV SIG_UART1_RECV -# define SIG_UART_DATA SIG_UART1_DATA # define USART_RX_vect USART1_RX_vect # define USART_UDRE_vect USART1_UDRE_vect # else -- cgit v1.2.3