File tree 2 files changed +14
-8
lines changed
2 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 78
78
#define CAN1 CAN
79
79
#endif
80
80
81
+ #ifdef __cplusplus
82
+ extern "C" {
83
+ #endif // __cplusplus
81
84
// weaked functions declaration
82
85
void SystemClock_Config (void );
86
+ #ifdef __cplusplus
87
+ } // extern "C"
88
+ #endif // __cplusplus
83
89
84
90
#endif //_STM32_DEF_
Original file line number Diff line number Diff line change 29
29
#include "binary.h"
30
30
#include "itoa.h"
31
31
32
- #ifdef __cplusplus
33
- extern "C" {
34
- #endif // __cplusplus
35
- #include <board.h>
36
- #ifdef __cplusplus
37
- }
38
- #endif
39
-
40
32
#include "wiring_analog.h"
41
33
#include "wiring_constants.h"
42
34
#include "wiring_digital.h"
@@ -45,6 +37,14 @@ extern "C"{
45
37
#include "wiring_time.h"
46
38
#include "WInterrupts.h"
47
39
40
+ #ifdef __cplusplus
41
+ extern "C" {
42
+ #endif // __cplusplus
43
+ #include <board.h>
44
+ #ifdef __cplusplus
45
+ }
46
+ #endif
47
+
48
48
#ifdef __cplusplus
49
49
#include "HardwareSerial.h"
50
50
#include "Tone.h"
You can’t perform that action at this time.
0 commit comments