mirror of https://github.com/ARMmbed/mbed-os.git
test: fix os tick linkage
os_tick header file is C only, mangling would cause problems herepull/7364/head
parent
fcadf0b4f7
commit
dd332471a8
|
@ -21,7 +21,13 @@
|
|||
#include "hal/us_ticker_api.h"
|
||||
#include "hal/lp_ticker_api.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
#include "os_tick.h"
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif // __cplusplus
|
||||
|
||||
#if !DEVICE_USTICKER
|
||||
#error [NOT_SUPPORTED] test not supported
|
||||
|
|
Loading…
Reference in New Issue