diff options
author | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:50:16 -0600 |
---|---|---|
committer | Bdale Garbee <bdale@gag.com> | 2018-03-18 15:50:16 -0600 |
commit | 55b62bb5d6a9d6b484bcd0d802964d529dd5f9bb (patch) | |
tree | 1a93442d43fcad172879d76629d4ed47ce3d6575 /src/stmf0/ao_adc_fast.c | |
parent | 558d2c94fe8c49d0544a3e7bc5ba11b60c4faa1e (diff) | |
parent | 59e23c27c2a85d7d748223e444b24d19937afe47 (diff) |
Merge branch 'branch-1.8' into debian
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; |