Merge pull request #14 from lchristina26/master

fix STM32 bug in benchmark.c
This commit is contained in:
toddouska
2015-02-25 13:39:49 -08:00

View File

@@ -1760,10 +1760,10 @@ void bench_ecc25519KeyAgree(void)
double current_time(int reset) double current_time(int reset)
{ {
(void) reset;
portTickType tickCount; portTickType tickCount;
(void) reset;
/* tick count == ms, if configTICK_RATE_HZ is set to 1000 */ /* tick count == ms, if configTICK_RATE_HZ is set to 1000 */
tickCount = xTaskGetTickCount(); tickCount = xTaskGetTickCount();
return (double)tickCount / 1000; return (double)tickCount / 1000;