micks012
Joined: 06 Jan 2009 Posts: 1
|
Expecting function name? |
Posted: Tue Jan 06, 2009 10:59 pm |
|
|
I'm using Pic18F2525 , found declare error and I don't know why;
complier error: Expecting function name;
Code: | void func1();
void func2();
void func3();
void func4();
typedef void (*FuncHandler)();
typedef struct
{
FuncHandler handler;
char handlerstr[32];
}HandleFuncId;
HandleFuncId handle[] =
{
(func1,"81"),
(func2,"82"),
(func3,"01"),
(func4,"02"),
(0,0)
}; |
|
|