Skip to content

Fixe adc #154

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from Nov 21, 2017
Merged

Fixe adc #154

merged 3 commits into from Nov 21, 2017

Conversation

ghost
Copy link

@ghost ghost commented Nov 20, 2017

Fix ADC for board F103RB and F303RE.

Signed-off-by: dhl <damien.helis@wi6labs.com>
@ghost ghost requested review from fpistm and VVESTM November 21, 2017 08:10
@@ -87,6 +87,8 @@ const PinName digitalPin[] = {
PC_2, //D54/A8 = D28
PC_3, //D55/A9 = D29
PC_5, //D56/A10 = D35
PB_11, //D57/A11 = D39
PB_2, //D58/A12 = D40
PC_4 //D57/A11 = D45
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, update comment:
PC_4 //D59/A13 = D45

Signed-off-by: dhl <damien.helis@wi6labs.com>
@@ -614,7 +614,7 @@ uint16_t adc_read_value(PinName pin)
return 0;
}

#if defined (STM32F0xx) || defined (STM32F1xx) || defined (STM32F3xx) || defined (STM32L4xx)
#if defined (STM32F0xx) || defined (STM32F1xx) || defined (STM32F3xx) || defined (STM32L4xx) || defined (STM32L0xx)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please invert L4 and L0 to be aligned with other #if test.
Alphabetical and numbering order.
F0/1/2/3/4/7- L0/1/4

Signed-off-by: dhl <damien.helis@wi6labs.com>
@fpistm fpistm merged commit b086968 into stm32duino:master Nov 21, 2017
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
@fpistm fpistm removed the request for review from VVESTM June 14, 2021 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants