Changed the XPLAINBridge software UART to use the regular CTC mode instead of the alternative CTC mode via the Input Capture register, to reduce user confusion.
This commit is contained in:
parent
fd77bf5c94
commit
b634ec50a0
4 changed files with 12 additions and 11 deletions
|
@ -60,8 +60,8 @@
|
|||
{
|
||||
uint16_t BitTime = ((F_CPU / Baud) - 1);
|
||||
|
||||
ICR1 = BitTime;
|
||||
ICR3 = BitTime;
|
||||
OCR1A = BitTime;
|
||||
OCR3A = BitTime;
|
||||
}
|
||||
|
||||
/* Function Prototypes: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue