--- Microchip.O/Include/USB/usb_hal_pic32.h 2012-08-09 22:25:47.713796496 +0200 +++ Microchip/Include/USB/usb_hal_pic32.h 2012-08-09 22:28:28.572698830 +0200 @@ -274,7 +274,11 @@ #define ConvertToPhysicalAddress(a) ((DWORD)KVA_TO_PA(a)) #define ConvertToVirtualAddress(a) PA_TO_KVA1(a) +#if ((__PIC32_FEATURE_SET__ >= 100) && (__PIC32_FEATURE_SET__ <= 299)) +#define USBIE 0x00000008 +#else #define USBIE 0x02000000 +#endif /**************************************************************** Function: