Page 1 of 1

Watch dog timer:- failure to compile

Posted: Thu Feb 05, 2009 9:01 pm
by djmills
Help, I've read lots about problems with watch dog timers however I was suprised when having added this fragment to a c code box in flowcode the compiler objected. Question is, am I very dim or is there a real proble?
Code added:-
{
clr_wdt();
}
Error message:-
C:\Documents and Settings\Dave\My Documents\fuelgaugeT5_R3.c(181:2): error: unknown identifier 'clr_wdt'
C:\Documents and Settings\Dave\My Documents\fuelgaugeT5_R3.c(181:2): error: failed to generate expression

Thanks in anticipation

Dave

Re: Watch dog timer:- failure to compile

Posted: Fri Feb 06, 2009 9:40 am
by Steve

Code: Select all

clear_wdt();