mirror of
https://github.com/Klipper3d/klipper.git
synced 2025-12-16 05:09:56 +01:00
atsam: Don't bother disabling DMA for UART
PDC is not enabled by default so no need to disable it Signed-off-by: Alex Maclean <monkeh@monkeh.net>
This commit is contained in:
committed by
KevinOConnor
parent
e2133a7301
commit
c55a94001f
@@ -62,7 +62,6 @@ serial_init(void)
|
||||
|
||||
// Reset uart
|
||||
enable_pclock(Pmc_id);
|
||||
Port->UART_PTCR = UART_PTCR_RXTDIS | UART_PTCR_TXTDIS;
|
||||
Port->UART_CR = (UART_CR_RSTRX | UART_CR_RSTTX
|
||||
| UART_CR_RXDIS | UART_CR_TXDIS);
|
||||
Port->UART_IDR = 0xFFFFFFFF;
|
||||
|
||||
Reference in New Issue
Block a user