Начало
This commit is contained in:
parent
2a1d610250
commit
7cd34e0d9e
|
|
@ -65,12 +65,12 @@ void UART5_IRQHandler() {
|
|||
}
|
||||
|
||||
// RX
|
||||
void DMA1_Channel5_IRQHandler(void) {
|
||||
void DMA1_Channel1_IRQHandler(void) {
|
||||
SerialPort_IrqProcessing_DmaRxLoop(&SERIAL_PORTS.Rs232);
|
||||
}
|
||||
|
||||
// TX
|
||||
void DMA1_Channel6_IRQHandler(void) {
|
||||
void DMA1_Channel2_IRQHandler(void) {
|
||||
SerialPort_IrqProcessing_DmaTx(&SERIAL_PORTS.Rs232);
|
||||
}
|
||||
|
||||
|
|
@ -95,7 +95,7 @@ static void vSerialPort_InitUSART5(tSerialPortArtery *env) {
|
|||
|
||||
vSerialPortInitDmaWithNameAndSniffer(
|
||||
env, UART5, 115200,
|
||||
1, 5, 1, 6,
|
||||
1, 1, 1, 2,
|
||||
false, 0xFF,
|
||||
buf_USART5_DMA, sizeof(buf_USART5_DMA),
|
||||
3200, 3200
|
||||
|
|
|
|||
Loading…
Reference in New Issue