aboutsummaryrefslogtreecommitdiffstats
path: root/src/lpc176x/spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lpc176x/spi.c')
-rw-r--r--src/lpc176x/spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lpc176x/spi.c b/src/lpc176x/spi.c
index e85f348c..726ffce3 100644
--- a/src/lpc176x/spi.c
+++ b/src/lpc176x/spi.c
@@ -24,7 +24,7 @@ spi_init(void)
gpio_peripheral(0, 18, 2, 0);
// Setup clock
- enable_peripheral_clock(PCLK_SSP0);
+ enable_pclock(PCLK_SSP0);
// Set initial registers
LPC_SSP0->CR0 = 0x07;