diff options
author | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:47:31 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:47:31 -0600 |
commit | 7b614380f307cb5e27f2a05281bc76c4ace93334 (patch) | |
tree | d243b069a134233f4b98e35769193a1244fc57f8 /src/stmf0/ao_adc_fast.c | |
parent | 16a9d8617b2d2092d166a85ada4349601afb0dce (diff) | |
parent | 39023ed6e29103a85bfad505506fa0dbf4dc1112 (diff) |
Merge branch 'master' into branch-1.8
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; |