Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOST_CMD_FIND_AXES_MAXIMUM doesn't handle flags #46

Open
paeaetech opened this issue Jul 4, 2010 · 0 comments
Open

HOST_CMD_FIND_AXES_MAXIMUM doesn't handle flags #46

paeaetech opened this issue Jul 4, 2010 · 0 comments

Comments

@paeaetech
Copy link

Currently FIND_AXES_MAXIMUM does not read flags from the received packet as find_axes_minimum does and instead uses 0 as flags. Find a patch below to fix that.
---
SanguinoMaster/PacketProcessor.cpp | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/SanguinoMaster/PacketProcessor.cpp b/SanguinoMaster/PacketProcessor.cpp
index f07922f..060d0cd 100644
--- a/SanguinoMaster/PacketProcessor.cpp
+++ b/SanguinoMaster/PacketProcessor.cpp
@@ -404,6 +404,9 @@ void handle_commands()
        // Belay until we're at a good location.
        if (!is_point_buffer_empty()) { return; }

+        //which ones are we going to?
+        flags = cursor.read_8();
+
         //find them!
         seek_maximums(
           flags & 1,
-- 
1.7.0.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants