We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent db0df6b commit fe91262Copy full SHA for fe91262
targets/TARGET_Cypress/TARGET_PSOC6/psoc6csp/hal/src/cyhal_spi.c
@@ -169,9 +169,9 @@ static cy_en_scb_spi_sclk_mode_t cyhal_convert_mode_sclk(cyhal_spi_mode_t mode)
169
case 0:
170
return (CY_SCB_SPI_CPHA0_CPOL0);
171
case 1:
172
- return (CY_SCB_SPI_CPHA0_CPOL1);
173
- case 2:
174
return (CY_SCB_SPI_CPHA1_CPOL0);
+ case 2:
+ return (CY_SCB_SPI_CPHA0_CPOL1);
175
case 3:
176
return (CY_SCB_SPI_CPHA1_CPOL1);
177
default:
0 commit comments