summaryrefslogtreecommitdiff
path: root/src/lpc/ao_spi_lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc/ao_spi_lpc.c')
-rw-r--r--src/lpc/ao_spi_lpc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpc/ao_spi_lpc.c b/src/lpc/ao_spi_lpc.c
index e72b8286..4c0f5714 100644
--- a/src/lpc/ao_spi_lpc.c
+++ b/src/lpc/ao_spi_lpc.c
@@ -103,8 +103,8 @@ ao_spi_channel_init(uint8_t id)
lpc_ssp->cr0 = ((LPC_SSP_CR0_DSS_8 << LPC_SSP_CR0_DSS) |
(LPC_SSP_CR0_FRF_SPI << LPC_SSP_CR0_FRF) |
- (0 << LPC_SSP_CR0_CPOL) |
- (0 << LPC_SSP_CR0_CPHA) |
+ (1 << LPC_SSP_CR0_CPOL) |
+ (1 << LPC_SSP_CR0_CPHA) |
(0 << LPC_SSP_CR0_SCR));
/* Enable the device */