stm32f1: Wrap code to 80 columns

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2019-02-27 14:14:30 -05:00
parent 796b7ac738
commit c3eb976119
3 changed files with 6 additions and 3 deletions

View File

@@ -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;