aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/platforms
diff options
context:
space:
mode:
Diffstat (limited to 'os/hal/platforms')
-rw-r--r--os/hal/platforms/STM32/mac_lld.h2
-rw-r--r--os/hal/platforms/STM32F30x/adc_lld.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/mac_lld.h b/os/hal/platforms/STM32/mac_lld.h
index 3c0882f1d..489607f39 100644
--- a/os/hal/platforms/STM32/mac_lld.h
+++ b/os/hal/platforms/STM32/mac_lld.h
@@ -291,6 +291,7 @@ typedef struct {
* @brief Available space size.
*/
size_t size;
+ /* End of the mandatory fields.*/
/**
* @brief Pointer to the physical descriptor.
*/
@@ -309,6 +310,7 @@ typedef struct {
* @brief Available data size.
*/
size_t size;
+ /* End of the mandatory fields.*/
/**
* @brief Pointer to the physical descriptor.
*/
diff --git a/os/hal/platforms/STM32F30x/adc_lld.h b/os/hal/platforms/STM32F30x/adc_lld.h
index 5c64d035c..06039b850 100644
--- a/os/hal/platforms/STM32F30x/adc_lld.h
+++ b/os/hal/platforms/STM32F30x/adc_lld.h
@@ -336,7 +336,7 @@
#if !STM32_ADC_COMPACT_SAMPLES || defined(__DOXYGEN__)
typedef uint16_t adcsample_t;
#else
-typedef uint_t adcsample_t;
+typedef uint8_t adcsample_t;
#endif
/**