Skip to content

Commit 8454990

Browse files
Meade fix (#233)
1 parent e22c5ee commit 8454990

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

Changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**V1.12.17 - Updates**
2+
- Fixed a bug that prevented clients from writing the DEC offset.
3+
14
**V1.12.16 - Updates**
25
- Fixed a bug that prevented clients from reading the DEC offset.
36

Version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
// Also, numbers are interpreted as simple numbers. _ __ _
44
// So 1.8 is actually 1.08, meaning that 1.12 is a later version than 1.8. \_(..)_/
55

6-
#define VERSION "V1.12.16"
6+
#define VERSION "V1.12.17"

src/MeadeCommandProcessor.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1885,10 +1885,10 @@ String MeadeCommandProcessor::handleMeadeExtraCommands(String inCmd)
18851885
{
18861886
_mount->setHomingOffset(StepperAxis::RA_STEPS, inCmd.substring(3).toInt());
18871887
}
1888-
}
1889-
else if (inCmd.length() > 2 && inCmd[2] == 'D') // :XSHD
1890-
{
1891-
_mount->setHomingOffset(StepperAxis::DEC_STEPS, inCmd.substring(3).toInt());
1888+
else if (inCmd[2] == 'D') // :XSHD
1889+
{
1890+
_mount->setHomingOffset(StepperAxis::DEC_STEPS, inCmd.substring(3).toInt());
1891+
}
18921892
}
18931893
}
18941894
}

0 commit comments

Comments
 (0)