diff options
Diffstat (limited to 'watch-library/watch/watch_i2c.c')
-rw-r--r-- | watch-library/watch/watch_i2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/watch-library/watch/watch_i2c.c b/watch-library/watch/watch_i2c.c index d2cf474b..ff20afc6 100644 --- a/watch-library/watch/watch_i2c.c +++ b/watch-library/watch/watch_i2c.c @@ -26,13 +26,13 @@ struct io_descriptor *I2C_0_io; -void watch_enable_i2c() { +void watch_enable_i2c(void) { I2C_0_init(); i2c_m_sync_get_io_descriptor(&I2C_0, &I2C_0_io); i2c_m_sync_enable(&I2C_0); } -void watch_disable_i2c() { +void watch_disable_i2c(void) { i2c_m_sync_disable(&I2C_0); hri_mclk_clear_APBCMASK_SERCOM1_bit(MCLK); } |