fix STM32 bug in benchmark.c

This commit is contained in:
lchristina26
2015-02-25 11:43:30 -07:00
parent db8619cc76
commit f04b042c73

View File

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