Skip to content

Commit

Permalink
Update uart.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtreetech authored Nov 24, 2020
1 parent 771312c commit cb52b06
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions firmware/MMU2/src/uart.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,6 @@ int uart1_getchar(FILE *)
return Serial1.read();
}


void uart0_init(void)
{
Serial.begin(UART0_BDR, SERIAL_8N1); //serial0 - USB
//fdev_setup_stream(uart0io, uart0_putchar, uart0_getchar, _FDEV_SETUP_WRITE | _FDEV_SETUP_READ); //setup uart in/out stream
}

void uart1_init(void)
{
Serial1.begin(UART1_BDR, SERIAL_8N1); //serial1
Expand Down

0 comments on commit cb52b06

Please sign in to comment.