LIN BUS PIC16F684, unknown identifier 'TMR0IF'

Moderator: Benj

Post Reply
jeflores
Posts: 12
Joined: Fri Apr 06, 2012 7:37 am
Contact:

LIN BUS PIC16F684, unknown identifier 'TMR0IF'

Post by jeflores »

DRVL_16F684v10.c(1802:24): error: unknown identifier 'TMR0IF'
DRVL_16F684v10.c(1802:24): error: invalid operand 'TMR0IF'

Definition of 'TMR0IF' is not defined for the PIC16F684 microcontroller, when I use the slave linbus component for a micro PIC18F45K20 works well.
add the following line to correct the error, # define TMR0IF T0IF.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: LIN BUS PIC16F684, unknown identifier 'TMR0IF'

Post by Benj »

Hello Jeflores,

Many thanks for letting us know about the problem. This has now been fixed in the master file so the change will be present in the next release.

Post Reply