diff --git a/Src/Model3/DriveBoard/JoystickBoard.cpp b/Src/Model3/DriveBoard/JoystickBoard.cpp index 570ab42..0d7bf16 100644 --- a/Src/Model3/DriveBoard/JoystickBoard.cpp +++ b/Src/Model3/DriveBoard/JoystickBoard.cpp @@ -497,7 +497,7 @@ void CJoyBoard::ProcessEncoderCmdJoystick(void) case 0xFF: // Stop all effects - if (m_port42Out == 0 || m_port45Out == 0) + if (m_port42Out == 0xFF && m_port45Out == 0xFF) SendStopAll(); break; diff --git a/Src/Model3/DriveBoard/WheelBoard.cpp b/Src/Model3/DriveBoard/WheelBoard.cpp index 2e17b4a..10d85c1 100644 --- a/Src/Model3/DriveBoard/WheelBoard.cpp +++ b/Src/Model3/DriveBoard/WheelBoard.cpp @@ -591,7 +591,7 @@ void CWheelBoard::ProcessEncoderCmd(void) case 0xFF: // Stop all effects - if (m_port42Out == 0) + if (m_port42Out == 0xFF) SendStopAll(); break;