Update main.c

This commit is contained in:
Gabriel Wang 2021-11-04 20:08:16 +00:00
parent 8891625cf4
commit 1d36f59b1c

View File

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