From f04b042c732e777cfc14dc536e98816251e3c97b Mon Sep 17 00:00:00 2001 From: lchristina26 Date: Wed, 25 Feb 2015 11:43:30 -0700 Subject: [PATCH] fix STM32 bug in benchmark.c --- wolfcrypt/benchmark/benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wolfcrypt/benchmark/benchmark.c b/wolfcrypt/benchmark/benchmark.c index 86a2179e4..1077220bb 100644 --- a/wolfcrypt/benchmark/benchmark.c +++ b/wolfcrypt/benchmark/benchmark.c @@ -1721,10 +1721,10 @@ void bench_ecc25519KeyAgree(void) double current_time(int reset) { - (void) reset; - portTickType tickCount; + (void) reset; + /* tick count == ms, if configTICK_RATE_HZ is set to 1000 */ tickCount = xTaskGetTickCount(); return (double)tickCount / 1000;