diff --git a/src/boards/Groundstation/Automated/SMController/SMController.cpp b/src/boards/Groundstation/Automated/SMController/SMController.cpp index 5c366cf4d8b5d730139a97e4547d6d80c450e8c9..a5b34cd957c3bf5aab0d8ccfba91a9ec666f0492 100644 --- a/src/boards/Groundstation/Automated/SMController/SMController.cpp +++ b/src/boards/Groundstation/Automated/SMController/SMController.cpp @@ -60,15 +60,15 @@ bool SMController::start() bool ok = true; // add the Propagator task - result = scheduler->addTask(bind(&Propagator::update, propagator), + result = scheduler->addTask(bind(&Propagator::update, &propagator), PropagatorConfig::PROPAGATOR_PERIOD, TaskScheduler::Policy::RECOVER); ok &= result == 0; // add the Follower task - size_t result = scheduler->addTask(bind(&Follower::update, follower), - FollowerConfig::FOLLOWER_PERIOD, - TaskScheduler::Policy::RECOVER); + result = scheduler->addTask(bind(&Follower::update, &follower), + FollowerConfig::FOLLOWER_PERIOD, + TaskScheduler::Policy::RECOVER); ok &= result == 0; // add the update task