Skip to content

Commit cbd0b39

Browse files
committed
Fix, custom guide rate override on rate set
1 parent a9cb8cc commit cbd0b39

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Guide.ino

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,11 @@ int getPulseGuideRate() {
391391
void enableGuideRate(int g) {
392392
if (g == activeGuideRate) return;
393393

394-
if (g >= 0) activeGuideRate=g;
394+
if (g >= 0) {
395+
activeGuideRate=g;
396+
guideTimerCustomRateAxis1 = 0.0;
397+
guideTimerCustomRateAxis2 = 0.0;
398+
}
395399

396400
// this enables the guide rates
397401
if (guideTimerCustomRateAxis1 != 0.0) {

0 commit comments

Comments
 (0)