Skip to content

Commit

Permalink
fix(PeriphDrivers): Fix MAX32690 SPI DMA RX ReqSel for SPI 2, 3, and 4 (
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake-Carter authored Feb 28, 2024
1 parent e75ecd7 commit 2caffd5
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 @@ -415,13 +415,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 2caffd5

Please sign in to comment.