Skip to content

Commit 26d544c

Browse files
committed
allow disable deprecated symbols
1 parent f3d7814 commit 26d544c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

perf_counter.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
178178
* \addtogroup Deprecated
179179
* @{
180180
*/
181+
#if !defined(__PERFC_NO_DEPRECATED__)
181182
#define init_cycle_counter(__is_systimer_occupied) \
182183
perfc_init(__is_systimer_occupied)
183184

@@ -206,6 +207,7 @@ __asm(".global __ensure_systick_wrapper\n\t");
206207
# define foreach perfc_foreach
207208
#endif
208209
#endif
210+
#endif
209211
/*! @} */
210212

211213
/*!

0 commit comments

Comments
 (0)