fix a serious bug found in __cycleof__

This commit is contained in:
Gabriel Wang 2022-01-29 16:46:54 +00:00
parent 41df3b48f0
commit c9f4be5e98

View File

@ -250,6 +250,7 @@
using(int64_t _ = get_system_ticks(), __cycle_count__ = _, \
_=_, { \
_ = get_system_ticks() - _; \
__cycle_count__ = _; \
if (__PLOOC_VA_NUM_ARGS(__VA_ARGS__) == 0) { \
printf("\r\n"); \
printf("-[Cycle Report]"); \