Fixed ISR definition conflict in the XPLAIN bridge between the software UART and the AVRISP-MKII ISP modules.
This commit is contained in:
parent
292a631b62
commit
3a03da9705
2 changed files with 16 additions and 11 deletions
|
@ -30,6 +30,11 @@
|
|||
this software.
|
||||
*/
|
||||
|
||||
/** \file
|
||||
*
|
||||
* Header file for SoftUART.c.
|
||||
*/
|
||||
|
||||
#ifndef _SOFT_UART_
|
||||
#define _SOFT_UART_
|
||||
|
||||
|
@ -55,8 +60,8 @@
|
|||
{
|
||||
uint16_t BitTime = ((F_CPU / Baud) - 1);
|
||||
|
||||
OCR1A = BitTime;
|
||||
OCR3A = BitTime;
|
||||
ICR1 = BitTime;
|
||||
ICR3 = BitTime;
|
||||
}
|
||||
|
||||
/* Function Prototypes: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue