mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-01 19:54:40 +02:00
Merge pull request #14 from lchristina26/master
fix STM32 bug in benchmark.c
This commit is contained in:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user