Browse Source

Remove duplicate lines

main
thewknd 7 years ago
parent
commit
35469febf3
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      teensy3/serial4.c

+ 0
- 2
teensy3/serial4.c View File

@@ -159,8 +159,6 @@ void serial4_end(void)
while (transmitting) yield(); // wait for buffered data to send
NVIC_DISABLE_IRQ(IRQ_UART3_STATUS);
UART3_C2 = 0;
CORE_PIN31_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1);
CORE_PIN32_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1);
switch (rx_pin_num) {
case 31: CORE_PIN31_CONFIG = PORT_PCR_PE | PORT_PCR_PS | PORT_PCR_MUX(1); break; // PTC3
case 63: CORE_PIN63_CONFIG = 0; break;

Loading…
Cancel
Save