From 35925006062fd9e9cc6d2b3780183c9753c1fe70 Mon Sep 17 00:00:00 2001 From: Geeoon Chung Date: Sat, 6 Jan 2024 11:51:36 -0800 Subject: [PATCH] Changed const bool to bool in setArmIKEnabled method --- src/network/MissionControlProtocol.cpp | 2 +- src/network/MissionControlProtocol.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/network/MissionControlProtocol.cpp b/src/network/MissionControlProtocol.cpp index 5d02ef1af..20d52eeba 100644 --- a/src/network/MissionControlProtocol.cpp +++ b/src/network/MissionControlProtocol.cpp @@ -419,7 +419,7 @@ MissionControlProtocol::~MissionControlProtocol() { } } -void MissionControlProtocol::setArmIKEnabled(const bool enabled) { +void MissionControlProtocol::setArmIKEnabled(bool enabled) { Globals::armIKEnabled = enabled; this->sendArmIKEnabledReport(); } diff --git a/src/network/MissionControlProtocol.h b/src/network/MissionControlProtocol.h index f71042cce..48eae17a6 100644 --- a/src/network/MissionControlProtocol.h +++ b/src/network/MissionControlProtocol.h @@ -73,7 +73,7 @@ class MissionControlProtocol : public WebSocketProtocol { // TODO: add documenta void handleHeartbeatTimedOut(); void startPowerRepeat(); void stopAndShutdownPowerRepeat(); - void setArmIKEnabled(const bool enabled); + void setArmIKEnabled(bool enabled); void setRequestedJointPower(jointid_t joint, double power); void setRequestedCmdVel(double dtheta, double dx); };