Small matter of EECON1 showing up as a variable in devices which have no EEPROM.
In eeprom.h, sub SysEPRead(In EEAddress, Out EEDataValue) Replace: SET EECON1.RD ON
With: #IFDEF Var(EECON1) SET EECON1.RD ON #ENDIF
Log in to post a comment.
Small matter of EECON1 showing up as a variable in devices which have no EEPROM.
In eeprom.h, sub SysEPRead(In EEAddress, Out EEDataValue)
Replace:
SET EECON1.RD ON
With:
#IFDEF Var(EECON1)
SET EECON1.RD ON
#ENDIF