diff options
Diffstat (limited to 'watch-library/hw/driver_init.c')
-rw-r--r-- | watch-library/hw/driver_init.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/watch-library/hw/driver_init.c b/watch-library/hw/driver_init.c index daf3901d..564ec7a7 100644 --- a/watch-library/hw/driver_init.c +++ b/watch-library/hw/driver_init.c @@ -15,8 +15,6 @@ struct slcd_sync_descriptor SEGMENT_LCD_0; -struct adc_sync_descriptor ADC_0; - struct calendar_descriptor CALENDAR_0; struct i2c_m_sync_desc I2C_0; @@ -25,16 +23,6 @@ struct pwm_descriptor PWM_0; struct pwm_descriptor PWM_1; -void ADC_0_CLOCK_init(void) { - hri_mclk_set_APBCMASK_ADC_bit(MCLK); - hri_gclk_write_PCHCTRL_reg(GCLK, ADC_GCLK_ID, CONF_GCLK_ADC_SRC | (1 << GCLK_PCHCTRL_CHEN_Pos)); -} - -void ADC_0_init(void) { - ADC_0_CLOCK_init(); - adc_sync_init(&ADC_0, ADC, (void *)NULL); -} - void CALENDAR_0_CLOCK_init(void) { hri_mclk_set_APBAMASK_RTC_bit(MCLK); } |