On Wed, Feb 9, 2011 at 3:26 AM, V G wrote: > On Wed, Feb 9, 2011 at 3:09 AM, Tamas Rudnai wrot= e: > >> On Wed, Feb 9, 2011 at 7:23 AM, V G wrote: >> >> > Actually, it seems that: >> > >> > 1. mCTClearIntFlag() is in int.h like this: >> > >> > #define mConfigIntCoreTimer(config) (mCTClearIntFlag(), >> > mCTSetIntPriority(((config) & 7)), mCTSetIntSubPriority((((config) >> = 4) >> & >> > 3)), mCTIntEnable(((config) >> 15))) >> > >> >> Nope, that is mConfigIntCoreTimer(config) what gets defined there... It >> just >> combines 4 different function calls together with a comma (','), that's >> all >> -- where the first call is to mCTClearIntFlag()... >> >> Tamas >> > > You're right. It's in int_3xx_4xx_legacy.h > Including these two files: #include "peripheral/legacy/int_legacy.h" #include "peripheral/legacy/int_3xx_4xx_legacy.h" fixes the problem. Why are they being used anyway? What can I do to replace these legacy functions with modern ones? --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .