Skip to content

Commit

Permalink
Changed const bool to bool in setArmIKEnabled method
Browse files Browse the repository at this point in the history
  • Loading branch information
Geeoon committed Jan 6, 2024
1 parent 524c2ac commit 3592500
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/network/MissionControlProtocol.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ MissionControlProtocol::~MissionControlProtocol() {
}
}

void MissionControlProtocol::setArmIKEnabled(const bool enabled) {
void MissionControlProtocol::setArmIKEnabled(bool enabled) {
Globals::armIKEnabled = enabled;
this->sendArmIKEnabledReport();
}
Expand Down
2 changes: 1 addition & 1 deletion src/network/MissionControlProtocol.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
Expand Down

0 comments on commit 3592500

Please sign in to comment.