aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/templates/hal_adc_lld.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/templates/hal_adc_lld.h')
-rw-r--r--os/hal/templates/hal_adc_lld.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/os/hal/templates/hal_adc_lld.h b/os/hal/templates/hal_adc_lld.h
index d337dd2aa..4ba9bc0dd 100644
--- a/os/hal/templates/hal_adc_lld.h
+++ b/os/hal/templates/hal_adc_lld.h
@@ -85,7 +85,9 @@ typedef enum {
/**
* @brief Low level fields of the ADC driver structure.
*/
-#define adc_lld_driver_fields
+#define adc_lld_driver_fields \
+ /* Dummy field, it is not needed.*/ \
+ uint32_t dummy
/**
* @brief Low level fields of the ADC configuration structure.
@@ -97,7 +99,9 @@ typedef enum {
/**
* @brief Low level fields of the ADC configuration structure.
*/
-#define adc_lld_configuration_group_fields
+#define adc_lld_configuration_group_fields \
+ /* Dummy configuration, it is not needed.*/ \
+ uint32_t dummy
/*===========================================================================*/
/* External declarations. */