Permalink
Browse files

[avr] SIG_* defs are deprecated by avr-gcc 4.5.1. Thanks jcw!

  • Loading branch information...
icarus75 committed Apr 16, 2012
1 parent b4edb29 commit 1030eeda11beb64ff42adf25f5bc3f755ceb0e3c
Showing with 3 additions and 3 deletions.
  1. +3 −3 avr/uart.h
View
@@ -116,9 +116,9 @@
#define TXEN TXEN0
#define UBRRL UBRR0L
#define UBRRH UBRR0H
- #define SIG_UART_TRANS SIG_USART_TRANS
- #define SIG_UART_RECV SIG_USART_RECV
- #define SIG_UART_DATA SIG_USART_DATA
+ #define SIG_UART_TRANS USART_TX_vect
+ #define SIG_UART_RECV USART_RX_vect
+ #define SIG_UART_DATA USART_UDRE_vect
#endif
// compatibility with mega169 processors
#if defined(__AVR_ATmega169__)

0 comments on commit 1030eed

Please sign in to comment.