void* -> void by creating proxy fuction

Change-Id: I903c3d98f3210d1969b9aed6c84f5ccaa803a9ed
This commit is contained in:
Patrick Plenefisch
2014-10-07 17:13:31 -04:00
parent a71f07ed67
commit 037d3b2fb5
5 changed files with 24 additions and 11 deletions

View File

@@ -115,11 +115,10 @@ PIDController::~PIDController()
* This method is static and called by the Notifier class.
* @param controller the address of the PID controller object to use in the background loop
*/
void *PIDController::CallCalculate(void *controller)
void PIDController::CallCalculate(void *controller)
{
PIDController *control = (PIDController*) controller;
control->Calculate();
return nullptr;
}
/**