Skip to content

Commit b0bed36

Browse files
0xc0170kjbracey
authored andcommitted
SysTimer: irq Cortex A fix C linkage
1 parent 3883e0e commit b0bed36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

platform/SysTimer.h

Lines changed: 3 additions & 0 deletions
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)