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

Appearance settings

Commit e2c8f42

Browse filesBrowse files
committed
fix: remove extra semi-colons
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
1 parent 495c4cf commit e2c8f42
Copy full SHA for e2c8f42

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed

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

Copy file name to clipboardExpand all lines: libraries/SrcWrapper/src/stm32/analog.cpp
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,30 +32,30 @@ static PinName g_current_pin = NC;
3232

3333
#ifndef ADC_SAMPLINGTIME
3434
#if defined(ADC_SAMPLETIME_8CYCLES_5)
35-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_8CYCLES_5;
35+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_8CYCLES_5
3636
#elif defined(ADC_SAMPLETIME_11CYCLES_5)
37-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_11CYCLES_5;
37+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_11CYCLES_5
3838
#elif defined(ADC_SAMPLETIME_12CYCLES)
3939
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_12CYCLES;
4040
#elif defined(ADC_SAMPLETIME_12CYCLES_5)
41-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_12CYCLES_5;
41+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_12CYCLES_5
4242
#elif defined(ADC_SAMPLETIME_13CYCLES_5)
43-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_13CYCLES_5;
43+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_13CYCLES_5
4444
#elif defined(ADC_SAMPLETIME_15CYCLES)
45-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_15CYCLES;
45+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_15CYCLES
4646
#elif defined(ADC_SAMPLETIME_16CYCLES)
47-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_16CYCLES;
47+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_16CYCLES
4848
#elif defined(ADC_SAMPLETIME_19CYCLES_5)
49-
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_19CYCLES_5;
49+
#define ADC_SAMPLINGTIME ADC_SAMPLETIME_19CYCLES_5
5050
#endif
5151
#endif /* !ADC_SAMPLINGTIME */
5252

5353
#if defined(ADC_VER_V5_V90) && !defined(ADC3_SAMPLINGTIME)
54-
#define ADC3_SAMPLINGTIME ADC3_SAMPLETIME_24CYCLES_5;
54+
#define ADC3_SAMPLINGTIME ADC3_SAMPLETIME_24CYCLES_5
5555
#endif
5656

5757
#if defined(ADC4_SAMPLETIME_19CYCLES_5) && !defined(ADC4_SAMPLINGTIME)
58-
#define ADC4_SAMPLINGTIME ADC4_SAMPLETIME_19CYCLES_5;
58+
#define ADC4_SAMPLINGTIME ADC4_SAMPLETIME_19CYCLES_5
5959
#endif
6060

6161
/*

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.