fix mplab harmony random ifdef

This commit is contained in:
toddouska 2013-10-31 10:47:03 -07:00
parent cc323fb4cc
commit c88d0d5739
1 changed files with 2 additions and 2 deletions

View File

@ -458,10 +458,10 @@ int GenerateSeed(OS_Seed* os, byte* output, word32 sz)
#elif defined(MICROCHIP_PIC32)
#ifndef MICROCHIP_MPLAB_HARMONY
#include <peripheral/timer.h>
#ifdef MICROCHIP_MPLAB_HARMONY
#define PIC32_SEED_COUNT _CP0_GET_COUNT
#else
#include <peripheral/timer.h>
#define PIC32_SEED_COUNT ReadCoreTimer
#endif