mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #11813 from yarbcy/pr/arm-issue-11795
Fix ARM issue 11795: - Cypress: SPI FPGA test: tester always respond …pull/11833/head
commit
b26f41202e
|
@ -169,9 +169,9 @@ static cy_en_scb_spi_sclk_mode_t cyhal_convert_mode_sclk(cyhal_spi_mode_t mode)
|
|||
case 0:
|
||||
return (CY_SCB_SPI_CPHA0_CPOL0);
|
||||
case 1:
|
||||
return (CY_SCB_SPI_CPHA0_CPOL1);
|
||||
case 2:
|
||||
return (CY_SCB_SPI_CPHA1_CPOL0);
|
||||
case 2:
|
||||
return (CY_SCB_SPI_CPHA0_CPOL1);
|
||||
case 3:
|
||||
return (CY_SCB_SPI_CPHA1_CPOL1);
|
||||
default:
|
||||
|
|
Loading…
Reference in New Issue