Skip to content

Commit 073c82e

Browse files
committed
STM32: correct __cplusplus brackets in can_device.h
1 parent 77927d0 commit 073c82e

File tree

8 files changed

+32
-0
lines changed

8 files changed

+32
-0
lines changed

targets/TARGET_STM/TARGET_STM32F0/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,8 @@ extern "C" {
4040

4141
#endif // DEVICE_CAN
4242

43+
#ifdef __cplusplus
44+
}
45+
#endif
46+
4347
#endif

targets/TARGET_STM/TARGET_STM32F1/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@ extern "C" {
4141

4242
#endif // DEVICE_CAN
4343

44+
#ifdef __cplusplus
45+
}
46+
#endif
47+
4448
#endif

targets/TARGET_STM/TARGET_STM32F2/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,8 @@ extern "C" {
5252

5353
#endif // DEVICE_CAN
5454

55+
#ifdef __cplusplus
56+
}
57+
#endif
58+
5559
#endif

targets/TARGET_STM/TARGET_STM32F3/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,8 @@ extern "C" {
4141

4242
#endif // DEVICE_CAN
4343

44+
#ifdef __cplusplus
45+
}
46+
#endif
47+
4448
#endif

targets/TARGET_STM/TARGET_STM32F4/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,8 @@ extern "C" {
7070

7171
#endif // DEVICE_CAN
7272

73+
#ifdef __cplusplus
74+
}
75+
#endif
76+
7377
#endif

targets/TARGET_STM/TARGET_STM32F7/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,4 +71,8 @@ extern "C" {
7171

7272
#endif // DEVICE_CAN
7373

74+
#ifdef __cplusplus
75+
}
76+
#endif
77+
7478
#endif

targets/TARGET_STM/TARGET_STM32L4/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,8 @@ extern "C" {
4242

4343
#endif // DEVICE_CAN
4444

45+
#ifdef __cplusplus
46+
}
47+
#endif
48+
4549
#endif

targets/TARGET_STM/TARGET_STM32L5/can_device.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,8 @@ extern "C" {
3939

4040
#endif // DEVICE_CAN
4141

42+
#ifdef __cplusplus
43+
}
44+
#endif
45+
4246
#endif

0 commit comments

Comments
 (0)