small typo on ADCv3/hal_adc_lld.h Topic is solved

Use this forum for requesting small changes in ChibiOS. Large changes should be discussed in the development forum. This forum is NOT for support.
User avatar
alex31
Posts: 374
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 61 times
Contact:

small typo on ADCv3/hal_adc_lld.h  Topic is solved

Postby alex31 » Fri Jul 28, 2017 12:53 pm

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

User avatar
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

Postby Giovanni » Sun Sep 24, 2017 4:22 pm

Hi,

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