diff options
Diffstat (limited to 'src/atsamd/i2c.c')
-rw-r--r-- | src/atsamd/i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/i2c.c b/src/atsamd/i2c.c index 801c0e32..71376322 100644 --- a/src/atsamd/i2c.c +++ b/src/atsamd/i2c.c @@ -23,7 +23,7 @@ i2c_init(void) have_run_init = 1; // Setup clock - enable_pclock(SERCOM3_GCLK_ID_CORE, PM_APBCMASK_SERCOM3); + enable_pclock(SERCOM3_GCLK_ID_CORE, ID_SERCOM3); // Configure SDA, SCL pins gpio_peripheral(GPIO('A', 22), 'C', 0); |