summaryrefslogtreecommitdiff
path: root/digital/avr/modules
diff options
context:
space:
mode:
authorNicolas Schodet2012-06-14 20:59:39 +0200
committerNicolas Schodet2012-06-14 21:01:12 +0200
commitaec8dd14abc9c9a4eba1b14e49af8b998922afd8 (patch)
treeffa149e051872e919b312c3f523215d9432c507a /digital/avr/modules
parent24c0331fbdf24cf31dd0290ac1887b396bc20bc0 (diff)
digital/avr/modules: change deprecated signal names
Diffstat (limited to 'digital/avr/modules')
-rw-r--r--digital/avr/modules/devices/servo/servo.avr.c4
-rw-r--r--digital/avr/modules/uart/uart.avr.c2
2 files changed, 2 insertions, 4 deletions
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