From ece14278efe5168ef20298984bff4b1d5eb43e4b Mon Sep 17 00:00:00 2001 From: QMK Bot Date: Tue, 17 Mar 2020 01:02:01 +0000 Subject: format code according to conventions [skip ci] --- drivers/arm/analog.c | 2 +- drivers/arm/analog.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers') diff --git a/drivers/arm/analog.c b/drivers/arm/analog.c index a7e6d2525..6f6db6401 100644 --- a/drivers/arm/analog.c +++ b/drivers/arm/analog.c @@ -119,7 +119,7 @@ static ADCConversionGroup adcConversionGroup = { .smpr = ADC_SAMPLING_RATE, #elif defined(USE_ADCV2) # if !defined(STM32F1XX) - .cr2 = ADC_CR2_SWSTART, // F103 seem very unhappy with, F401 seems very unhappy without... + .cr2 = ADC_CR2_SWSTART, // F103 seem very unhappy with, F401 seems very unhappy without... # endif .smpr2 = ADC_SMPR2_SMP_AN0(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN1(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN2(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN3(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN4(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN5(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN6(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN7(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN8(ADC_SAMPLING_RATE) | ADC_SMPR2_SMP_AN9(ADC_SAMPLING_RATE), .smpr1 = ADC_SMPR1_SMP_AN10(ADC_SAMPLING_RATE) | ADC_SMPR1_SMP_AN11(ADC_SAMPLING_RATE) | ADC_SMPR1_SMP_AN12(ADC_SAMPLING_RATE) | ADC_SMPR1_SMP_AN13(ADC_SAMPLING_RATE) | ADC_SMPR1_SMP_AN14(ADC_SAMPLING_RATE) | ADC_SMPR1_SMP_AN15(ADC_SAMPLING_RATE), diff --git a/drivers/arm/analog.h b/drivers/arm/analog.h index 2818e9dcb..e61c39426 100644 --- a/drivers/arm/analog.h +++ b/drivers/arm/analog.h @@ -25,7 +25,7 @@ extern "C" { typedef struct { uint16_t input; - uint8_t adc; + uint8_t adc; } adc_mux; #define TO_MUX(i, a) \ (adc_mux) { i, a } -- cgit v1.2.3-70-g09d2