aboutsummaryrefslogtreecommitdiffstats
path: root/src/stm32f1/adc.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-02-27 14:14:30 -0500
committerKevin O'Connor <kevin@koconnor.net>2019-02-27 14:20:15 -0500
commitc3eb97611900c3ebacf943ad232ba318645e84ce (patch)
tree30e9b916f3524b01123eaca6ca862f97f128713e /src/stm32f1/adc.c
parent796b7ac738bd4eed13af378f76479ed3b9459d29 (diff)
downloadkutter-c3eb97611900c3ebacf943ad232ba318645e84ce.tar.gz
kutter-c3eb97611900c3ebacf943ad232ba318645e84ce.tar.xz
kutter-c3eb97611900c3ebacf943ad232ba318645e84ce.zip
stm32f1: Wrap code to 80 columns
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'src/stm32f1/adc.c')
-rw-r--r--src/stm32f1/adc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/stm32f1/adc.c b/src/stm32f1/adc.c
index 2fe4977e..8eda4f8f 100644
--- a/src/stm32f1/adc.c
+++ b/src/stm32f1/adc.c
@@ -75,7 +75,8 @@ gpio_adc_sample(struct gpio_adc g)
/* ADC not busy, start conversion */
if (!readb(&adc_busy)) {
LL_ADC_REG_SetSequencerRanks(ADC1, LL_ADC_REG_RANK_1, g.bit);
- LL_ADC_SetChannelSamplingTime(ADC1, g.bit, LL_ADC_SAMPLINGTIME_239CYCLES_5);
+ LL_ADC_SetChannelSamplingTime(ADC1, g.bit
+ , LL_ADC_SAMPLINGTIME_239CYCLES_5);
LL_ADC_REG_StartConversionSWStart(ADC1);
adc_busy = true;
adc_current_channel = g.bit;