projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed ISR definition conflict in the XPLAIN bridge between the software UART and...
[pub/USBasp.git]
/
Projects
/
XPLAINBridge
/
Lib
/
SoftUART.h
diff --git
a/Projects/XPLAINBridge/Lib/SoftUART.h
b/Projects/XPLAINBridge/Lib/SoftUART.h
index
7203b3a
..
923631b
100644
(file)
--- a/
Projects/XPLAINBridge/Lib/SoftUART.h
+++ b/
Projects/XPLAINBridge/Lib/SoftUART.h
@@
-30,6
+30,11
@@
this software.
*/
this software.
*/
+/** \file
+ *
+ * Header file for SoftUART.c.
+ */
+
#ifndef _SOFT_UART_
#define _SOFT_UART_
#ifndef _SOFT_UART_
#define _SOFT_UART_
@@
-55,8
+60,8
@@
{
uint16_t BitTime = ((F_CPU / Baud) - 1);
{
uint16_t BitTime = ((F_CPU / Baud) - 1);
-
OCR1A
= BitTime;
-
OCR3A
= BitTime;
+
ICR1
= BitTime;
+
ICR3
= BitTime;
}
/* Function Prototypes: */
}
/* Function Prototypes: */