test: fix os tick linkage

os_tick header file is C only, mangling would cause problems here
pull/7364/head
Martin Kojtal 2018-06-29 10:16:50 +01:00
parent fcadf0b4f7
commit dd332471a8
1 changed files with 6 additions and 0 deletions

View File

@ -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