summaryrefslogtreecommitdiff
path: root/platforms/chibios/drivers/analog.h
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/chibios/drivers/analog.h')
-rw-r--r--platforms/chibios/drivers/analog.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/platforms/chibios/drivers/analog.h b/platforms/chibios/drivers/analog.h
index e61c394265..8a821719e3 100644
--- a/platforms/chibios/drivers/analog.h
+++ b/platforms/chibios/drivers/analog.h
@@ -28,7 +28,9 @@ typedef struct {
uint8_t adc;
} adc_mux;
#define TO_MUX(i, a) \
- (adc_mux) { i, a }
+ (adc_mux) { \
+ i, a \
+ }
int16_t analogReadPin(pin_t pin);
int16_t analogReadPinAdc(pin_t pin, uint8_t adc);