There is missing _ADC_ in the test for already defined macro for ADC3 and ADC4 IRQ PRIORITY line 267 and 274 of
file os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h.
Alexandre
============================
diff --git a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h
index f71d438..9bab6ff 100644
--- a/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h
+++ b/os/hal/ports/STM32/LLD/ADCv3/hal_adc_lld.h
@@ -264,14 +264,14 @@
/**
* @brief ADC3 interrupt priority level setting.
*/
-#if !defined(STM32_ADC3_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#if !defined(STM32_ADC_ADC3_IRQ_PRIORITY) || defined(__DOXYGEN__)^M
#define STM32_ADC_ADC3_IRQ_PRIORITY 5
#endif
/**
* @brief ADC4 interrupt priority level setting.
*/
-#if !defined(STM32_ADC4_IRQ_PRIORITY) || defined(__DOXYGEN__)
+#if !defined(STM32_ADC_ADC4_IRQ_PRIORITY) || defined(__DOXYGEN__)^M
#define STM32_ADC_ADC4_IRQ_PRIORITY 5
#endif
small typo on ADCv3/hal_adc_lld.h Topic is solved
- Giovanni
- Site Admin
- Posts: 14444
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1074 times
- Been thanked: 921 times
- Contact:
Re: small typo on ADCv3/hal_adc_lld.h
Hi,
Fixed in trunk, it was OK in 16.1 and 17.6, strange.
Giovanni
Fixed in trunk, it was OK in 16.1 and 17.6, strange.
Giovanni
Return to “Small Change Requests”
Who is online
Users browsing this forum: No registered users and 17 guests