projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add new tag for the LUFA-120219-BETA release.
[pub/USBasp.git]
/
Projects
/
XPLAINBridge
/
Lib
/
SoftUART.h
diff --git
a/Projects/XPLAINBridge/Lib/SoftUART.h
b/Projects/XPLAINBridge/Lib/SoftUART.h
index
6dedf61
..
c30ad65
100644
(file)
--- a/
Projects/XPLAINBridge/Lib/SoftUART.h
+++ b/
Projects/XPLAINBridge/Lib/SoftUART.h
@@
-1,6
+1,6
@@
/*
LUFA Library
/*
LUFA Library
- Copyright (C) Dean Camera, 201
0
.
+ Copyright (C) Dean Camera, 201
2
.
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
dean [at] fourwalledcubicle [dot] com
www.lufa-lib.org
@@
-9,7
+9,7
@@
/*
Copyright 2010 David Prentice (david.prentice [at] farming [dot] uk)
Copyright 2010 Peter Danneger
/*
Copyright 2010 David Prentice (david.prentice [at] farming [dot] uk)
Copyright 2010 Peter Danneger
- Copyright 201
0
Dean Camera (dean [at] fourwalledcubicle [dot] com)
+ Copyright 201
2
Dean Camera (dean [at] fourwalledcubicle [dot] com)
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
Permission to use, copy, modify, distribute, and sell this
software and its documentation for any purpose is hereby granted
@@
-44,7
+44,6
@@
#include <stdbool.h>
#include "../XPLAINBridge.h"
#include <stdbool.h>
#include "../XPLAINBridge.h"
- #include "LightweightRingBuff.h"
/* Macros: */
#define SRX PD0
/* Macros: */
#define SRX PD0
@@
-60,11
+59,12
@@
{
uint16_t BitTime = ((F_CPU / Baud) - 1);
{
uint16_t BitTime = ((F_CPU / Baud) - 1);
-
ICR1
= BitTime;
-
ICR3
= BitTime;
+
OCR1A
= BitTime;
+
OCR3A
= BitTime;
}
/* Function Prototypes: */
void SoftUART_Init(void);
#endif
}
/* Function Prototypes: */
void SoftUART_Init(void);
#endif
+