void(* resetDevice) (void) = 0; What kind of a function is this? -
void(* resetdevice) (void) = 0;
this function declaration stumbled upon, no definition found later. kind of function this? do? return?
this pointer void function accepting no parameters. pointer named resetfunc , initialized null. library code later initialize point real function. able call with
resetdevice();
now, function exactly, have no idea - depends on environment/libraries, have not specified. guess arduino, can read bit more here
wiki
Comments
Post a Comment