Hello every one
While I am trying to implement my simple code I am getting the following error
Error[Pe144]: a value of type "pAppFunction (*)(void **)" cannot be used to initialize an entity of type "pAppFunction" D:\CCS\Example\Test_gui.c 17
I am using it as :
static const menuItem_t ExampleGUIItems[]=
{
{M_DISABLED,0,"Select Protocol",0,0,0,0,0},
{0x00,"1","case1",0,0,0,&Configuration,0},
{0x00,"2","case2",0,0,0,0,0},
{0x00,"3","case3",0,0,0,0,0}
};
and then call the function as:
void Configuration(void** pDummy )
{
.....
}
Please can you tell me why the error occur and how can I correct it ??
Thanks in advance