Skip to content

Commit

Permalink
Be sure guide rate is adopted after custom guide rate
Browse files Browse the repository at this point in the history
  • Loading branch information
hjd1964 committed Oct 19, 2021
1 parent 8edf586 commit 515505b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Guide.ino
Original file line number Diff line number Diff line change
Expand Up @@ -399,11 +399,13 @@ void enableGuideRate(int g) {

// this enables the guide rates
if (guideTimerCustomRateAxis1 != 0.0) {
activeGuideRate = GuideRateNone;
guideTimerBaseRateAxis1=guideTimerCustomRateAxis1;
} else {
guideTimerBaseRateAxis1=(double)(guideRates[g]/15.0);
}
if (guideTimerCustomRateAxis2 != 0.0) {
activeGuideRate = GuideRateNone;
guideTimerBaseRateAxis2=guideTimerCustomRateAxis2;
} else {
guideTimerBaseRateAxis2=(double)(guideRates[g]/15.0);
Expand Down

0 comments on commit 515505b

Please sign in to comment.