From 3b73bffcfb82f6b789b8b55936560688ac441791 Mon Sep 17 00:00:00 2001 From: Howard Dutton Date: Sat, 4 Jun 2022 14:56:09 -0400 Subject: [PATCH] Guide active status doesn't apply to pulse guide --- Command.ino | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Command.ino b/Command.ino index 91f147dd..a5492451 100644 --- a/Command.ino +++ b/Command.ino @@ -718,7 +718,8 @@ void processCommands() { if (atHome) reply[i++]='H'; // at [H]ome if (ppsSynced) reply[i++]='S'; // PPS [S]ync if (isPulseGuiding()) reply[i++]='G'; // pulse [G]uide active - if (guideDirAxis1 || guideDirAxis2) reply[i++]='g'; // [g]uide active + if ((guideDirAxis1 || guideDirAxis2) && !isPulseGuiding()) + reply[i++]='g'; // [g]uide active #if MOUNT_TYPE != ALTAZM if (rateCompensation == RC_REFR_RA) { reply[i++]='r'; reply[i++]='s'; } // [r]efr enabled [s]ingle axis if (rateCompensation == RC_REFR_BOTH) { reply[i++]='r'; } // [r]efr enabled @@ -783,7 +784,8 @@ void processCommands() { } if (syncToEncodersOnly) reply[1]|=0b10000100; // sync to encoders only - if (guideDirAxis1 || guideDirAxis2) reply[1]|=0b10001000; // guide active + if ((guideDirAxis1 || guideDirAxis2) && !isPulseGuiding()) + reply[1]|=0b10001000; // guide active if (atHome) reply[2]|=0b10000001; // At home if (waitingHome) reply[2]|=0b10000010; // Waiting at home if (pauseHome) reply[2]|=0b10000100; // Pause at home enabled?