mirror of
https://github.com/GorgonMeducer/perf_counter.git
synced 2025-01-31 19:33:04 +08:00
Update main.c
This commit is contained in:
parent
8891625cf4
commit
1d36f59b1c
@ -20,6 +20,13 @@
|
||||
#include <cmsis_compiler.h>
|
||||
#include "perf_counter.h"
|
||||
|
||||
#if defined(__clang__)
|
||||
# pragma clang diagnostic ignored "-Wcompound-token-split-by-macro"
|
||||
#elif defined(__IS_COMPILER_GCC__)
|
||||
# pragma GCC diagnostic ignored "-Wpedantic"
|
||||
#endif
|
||||
|
||||
|
||||
#ifndef __PERF_CNT_USE_LONG_CLOCK__
|
||||
#include <time.h>
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user