aboutsummaryrefslogtreecommitdiffstats
path: root/libmaple/adc.h
diff options
context:
space:
mode:
Diffstat (limited to 'libmaple/adc.h')
-rw-r--r--libmaple/adc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmaple/adc.h b/libmaple/adc.h
index 41b2096..efb45f7 100644
--- a/libmaple/adc.h
+++ b/libmaple/adc.h
@@ -80,12 +80,12 @@ extern const adc_dev *ADC3;
*/
/** ADC1 register map base pointer. */
-#define ADC1_BASE ((adc_reg_map*)0x40012400)
+#define ADC1_BASE ((struct adc_reg_map*)0x40012400)
/** ADC2 register map base pointer. */
-#define ADC2_BASE ((adc_reg_map*)0x40012800)
+#define ADC2_BASE ((struct adc_reg_map*)0x40012800)
#ifdef STM32_HIGH_DENSITY
/** ADC3 register map base pointer. */
-#define ADC3_BASE ((adc_reg_map*)0x40013C00)
+#define ADC3_BASE ((struct adc_reg_map*)0x40013C00)
#endif
/*