Skip to content

Commit 3f0a528

Browse files
0xc0170kjbracey
authored andcommitted
SysTimer: irq Cortex A fix C linkage
1 parent ccf59f8 commit 3f0a528

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform/SysTimer.h

+3
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,12 @@
2121
#include "platform/mbed_atomic.h"
2222
#include "drivers/TimerEvent.h"
2323
#include "cmsis.h"
24+
25+
extern "C" {
2426
#if defined(TARGET_CORTEX_A)
2527
#include "irq_ctrl.h"
2628
#endif
29+
}
2730

2831
namespace mbed {
2932
namespace internal {

0 commit comments

Comments
 (0)