Added support for atmega8a
This commit is contained in:
parent
b2a3b03867
commit
81e6a9fdc0
8
usart.h
8
usart.h
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) by BlackMark 2015-2016
|
* Copyright (c) by BlackMark 2015-2018
|
||||||
* Date 26/05/2016
|
* Date 12/04/2018
|
||||||
* Version 3.3
|
* Version 3.4
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef USART_H
|
#ifndef USART_H
|
||||||
@ -18,7 +18,7 @@
|
|||||||
#define USART0_RX_vect_D USART_RX_vect
|
#define USART0_RX_vect_D USART_RX_vect
|
||||||
#define USART0_UDRE_vect_D USART_UDRE_vect
|
#define USART0_UDRE_vect_D USART_UDRE_vect
|
||||||
#endif
|
#endif
|
||||||
#if defined (__AVR_ATmega32A__) || (__AVR_ATmega8__)
|
#if defined (__AVR_ATmega32A__) || (__AVR_ATmega8__) || (__AVR_ATmega8A__)
|
||||||
#define USART_SHAREDIO
|
#define USART_SHAREDIO
|
||||||
#define USART0_RX_vect_D USART_RXC_vect
|
#define USART0_RX_vect_D USART_RXC_vect
|
||||||
#define USART0_UDRE_vect_D USART_UDRE_vect
|
#define USART0_UDRE_vect_D USART_UDRE_vect
|
||||||
|
Loading…
Reference in New Issue
Block a user