latest FRC code - undefinded variables

I am using the latest of the FRC code posted. However, when I try to compile I am getting undefined variables for “ADC_VREFPLUS_VDD” and “ADC_VREFMINUS_VSS” which are part of the ‘adc.h’ header. I added the appropraite include search path into MPLAB but it still gives this error.

Any ideas? Thanks!

This is why I suggested using 3.10 instead of 3.15 <grin>. It looks like Microchip is in the process of updating support for hardware found in newer devices and managed to mess up the adc.h header file in the process. Mark McLeod identified the problem and a fix in this post. You can also just comment out the offending function (I hope to provide a replacement soon).

-Kevin