diff options
Diffstat (limited to 'src/lpc176x/spi.c')
-rw-r--r-- | src/lpc176x/spi.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lpc176x/spi.c b/src/lpc176x/spi.c index 726ffce3..e959877c 100644 --- a/src/lpc176x/spi.c +++ b/src/lpc176x/spi.c @@ -19,9 +19,9 @@ spi_init(void) have_run_init = 1; // Configure SCK0, MISO0, MOSI0 pins - gpio_peripheral(0, 15, 2, 0); - gpio_peripheral(0, 17, 2, 0); - gpio_peripheral(0, 18, 2, 0); + gpio_peripheral(GPIO(0, 15), 2, 0); + gpio_peripheral(GPIO(0, 17), 2, 0); + gpio_peripheral(GPIO(0, 18), 2, 0); // Setup clock enable_pclock(PCLK_SSP0); |