Whandall:
void doFunctionAtInterval( void ( *callBackFunction )(), unsigned long *nextEvent, unsigned long interval ) {
callBackFunction();
}
}
Why does the call compile and run ok at all? I would have expected
(*callBackFunction)();
(*callBackFunction)();
throws a compiler error - error: void value not ignored as it ought to be
maybe
void (*callBackFunction() );
?