Skip to content

Commit

Permalink
fix virtual_joystick increment setting
Browse files Browse the repository at this point in the history
  • Loading branch information
planthaber committed Sep 2, 2024
1 parent 3c61827 commit 920716d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/CLI/VirtualJoystick.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ class VirtualJoystick
increment_+=increment_;
break;
case '-':
increment_-=increment_;
increment_-=increment_/2.0;
break;
default:
highlightButton("arrowRight", false);
Expand Down
1 change: 0 additions & 1 deletion src/ControlledRobot/ControlledRobot.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ ControlMessageType ControlledRobot::handleCommandRequest(const ControlMessageTyp
}

ControlMessageType ControlledRobot::handleVersionRequest(const MessageId& msgid, TransportSharedPtr commandTransport) {
printf("%s:%i\n", __PRETTY_FUNCTION__, __LINE__);
std::string msg = "";
MessageIdCommandBuffer* cmdbuffer = dynamic_cast<MessageIdCommandBuffer*>(commandbuffers[msgid]);
if (cmdbuffer) {
Expand Down

0 comments on commit 920716d

Please sign in to comment.