Skip to content

Commit

Permalink
Update spi_me18.c
Browse files Browse the repository at this point in the history
Fix typos on SPI Rx Request Select for SPI in DMA mode
  • Loading branch information
Vitorbnc authored Oct 20, 2023
1 parent d6eb11c commit f9cb654
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Libraries/PeriphDrivers/Source/SPI/spi_me18.c
Original file line number Diff line number Diff line change
Expand Up @@ -427,13 +427,13 @@ int MXC_SPI_MasterTransactionDMA(mxc_spi_req_t *req)
reqselRx = MXC_DMA_REQUEST_SPI1RX;
break;
case 2:
reqselTx = MXC_DMA_REQUEST_SPI2RX;
reqselRx = MXC_DMA_REQUEST_SPI2RX;
break;
case 3:
reqselTx = MXC_DMA_REQUEST_SPI3RX;
reqselRx = MXC_DMA_REQUEST_SPI3RX;
break;
case 4:
reqselTx = MXC_DMA_REQUEST_SPI4RX;
reqselRx = MXC_DMA_REQUEST_SPI4RX;
break;
default:
return E_BAD_PARAM;
Expand Down

0 comments on commit f9cb654

Please sign in to comment.