Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit251b502

Browse files
0x657373656C6Cfpistm
authored andcommitted
Fix for ADC timing for NUCLEO-WL55JC (STM32WLxx)
1 parent42a4505 commit251b502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎libraries/SrcWrapper/src/stm32/analog.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -898,7 +898,7 @@ uint16_t adc_read_value(PinName pin, uint32_t resolution)
898898
#if defined(STM32F0xx)
899899
AdcHandle.Init.SamplingTimeCommon = samplingTime;
900900
#endif
901-
#if defined(STM32G0xx)
901+
#if defined(STM32G0xx) || defined(STM32WLxx)
902902
AdcHandle.Init.SamplingTimeCommon1 = samplingTime;/* Set sampling time common to a group of channels.*/
903903
AdcHandle.Init.SamplingTimeCommon2 = samplingTime;/* Set sampling time common to a group of channels, second common setting possible.*/
904904
#endif

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp