diff options
author | Bdale Garbee <bdale@gag.com> | 2018-02-12 16:38:57 -0700 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2018-02-12 16:38:57 -0700 |
commit | ee79a205e118ea8730a02cc327d8fb79cc5f74ff (patch) | |
tree | be0b0c9fbccaa84acadb1d18688aae9b8db3e048 /src/stmf0/ao_adc_fast.c | |
parent | 365eee3ebfe73204033089b363687228f97e5d98 (diff) | |
parent | 78a90fc760b88ab66c5c238289afc38356e29d8a (diff) |
Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
Diffstat (limited to 'src/stmf0/ao_adc_fast.c')
-rw-r--r-- | src/stmf0/ao_adc_fast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stmf0/ao_adc_fast.c b/src/stmf0/ao_adc_fast.c index 5ce3a396..fbf4ad2e 100644 --- a/src/stmf0/ao_adc_fast.c +++ b/src/stmf0/ao_adc_fast.c @@ -154,7 +154,7 @@ ao_adc_init(void) #endif /* Set the clock */ - stm_adc.cfgr2 = STM_ADC_CFGR2_CKMODE_ADCCLK << STM_ADC_CFGR2_CKMODE; + stm_adc.cfgr2 = STM_ADC_CFGR2_CKMODE_PCLK_2 << STM_ADC_CFGR2_CKMODE; /* Shortest sample time */ stm_adc.smpr = STM_ADC_SMPR_SMP_1_5 << STM_ADC_SMPR_SMP; |