[pcbgruvin9x] Removed two lines no longer needed for a feature that
never worked on '2560 chip because UART takes over RX pin even when receiver is disabled (a chip design flaw, far as I can tell.)
This commit is contained in:
@@ -451,9 +451,6 @@ void DSM2_Init(void)
|
|||||||
{
|
{
|
||||||
#ifndef SIMU
|
#ifndef SIMU
|
||||||
|
|
||||||
DDRE &= ~(1 << DDE0); // set RXD0 pin as input
|
|
||||||
PORTE |= (1 << PORTE0); // enable pullup on RXD0 pin
|
|
||||||
|
|
||||||
#undef BAUD
|
#undef BAUD
|
||||||
#define BAUD 125000
|
#define BAUD 125000
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user