forked from wolfSSL/wolfssl
fix mplab harmony random ifdef
This commit is contained in:
@ -458,10 +458,10 @@ int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
|
|||||||
|
|
||||||
#elif defined(MICROCHIP_PIC32)
|
#elif defined(MICROCHIP_PIC32)
|
||||||
|
|
||||||
#ifndef MICROCHIP_MPLAB_HARMONY
|
#ifdef MICROCHIP_MPLAB_HARMONY
|
||||||
#include <peripheral/timer.h>
|
|
||||||
#define PIC32_SEED_COUNT _CP0_GET_COUNT
|
#define PIC32_SEED_COUNT _CP0_GET_COUNT
|
||||||
#else
|
#else
|
||||||
|
#include <peripheral/timer.h>
|
||||||
#define PIC32_SEED_COUNT ReadCoreTimer
|
#define PIC32_SEED_COUNT ReadCoreTimer
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user