forked from wolfSSL/wolfssl
Fixed pic32mx/mz clock for benchmark
This commit is contained in:
@ -1166,10 +1166,10 @@ void bench_eccKeyAgree(void)
|
|||||||
|
|
||||||
#elif defined MICROCHIP_PIC32
|
#elif defined MICROCHIP_PIC32
|
||||||
#if defined(CYASSL_MICROCHIP_PIC32MZ)
|
#if defined(CYASSL_MICROCHIP_PIC32MZ)
|
||||||
#define CLOCK 8000000.0
|
#define CLOCK 80000000.0
|
||||||
#else
|
#else
|
||||||
#include <peripheral/timer.h>
|
#include <peripheral/timer.h>
|
||||||
#define CLOCK 4000000.0
|
#define CLOCK 40000000.0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
double current_time(int reset)
|
double current_time(int reset)
|
||||||
|
Reference in New Issue
Block a user