diff options
Diffstat (limited to 'src/lpc176x/i2c.c')
-rw-r--r-- | src/lpc176x/i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lpc176x/i2c.c b/src/lpc176x/i2c.c index cc45ad14..bc367ba7 100644 --- a/src/lpc176x/i2c.c +++ b/src/lpc176x/i2c.c @@ -25,8 +25,8 @@ i2c_init(void) have_run_init = 1; // Init i2c bus 1 pins - gpio_peripheral(0, 0, 3, 0); - gpio_peripheral(0, 1, 3, 0); + gpio_peripheral(GPIO(0, 0), 3, 0); + gpio_peripheral(GPIO(0, 1), 3, 0); // Set 100Khz frequency enable_pclock(PCLK_I2C1); |