diff --git a/diff_drive_controller/src/diff_drive_controller.cpp b/diff_drive_controller/src/diff_drive_controller.cpp index 238a93f076..5096b6e1fd 100644 --- a/diff_drive_controller/src/diff_drive_controller.cpp +++ b/diff_drive_controller/src/diff_drive_controller.cpp @@ -703,9 +703,10 @@ controller_interface::CallbackReturn DiffDriveController::configure_side( return controller_interface::CallbackReturn::SUCCESS; } -bool DiffDriveController::on_set_chained_mode(bool /*chained_mode*/) +bool DiffDriveController::on_set_chained_mode(bool chained_mode) { // Always accept switch to/from chained mode + (void)chained_mode; return true; }