Skip to content

Commit 72d52f2

Browse files
authored
OAM set Home fix (#142)
* OAM set Home fix need to offset OAMs position by 6 hours when setting the home position
1 parent f7b563b commit 72d52f2

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

Changelog.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
**V1.10.1 - Updates**
2+
- fix a bug with "Set Home" on OAM
3+
14
**V1.10.0 - Updates**
25
- Delete support of ULN2003 drivers
36

@@ -362,4 +365,4 @@
362365
- Added extensions to the Meade protocol (:MAZn.n# and :MALn.n#) to move the aziumth and altitude motors.
363366
- Added Az and ALt motor status to :GX# command output
364367
- Added GPS and AzAlt features to hardware info query (:XGM#)
365-
- New CAL menu items to adjust Azimuth and Altitude in arcminutes.
368+
- New CAL menu items to adjust Azimuth and Altitude in arcminutes.

Version.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
// So 1.8.99 is ok, but 1.8.234 is not. Neither is 1.123.22
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. \_(..)_/
5-
#define VERSION "V1.10.0"
5+
6+
#define VERSION "V1.10.1"

src/Mount.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3048,6 +3048,9 @@ void Mount::setHome(bool clearZeroPos)
30483048
//LOGV2(DEBUG_MOUNT_VERBOSE,F("Mount::setHomePre: targetRA is %s"), targetRA().ToString());
30493049
//LOGV2(DEBUG_MOUNT_VERBOSE,F("Mount::setHomePre: zeroPos is %s"), _zeroPosRA.ToString());
30503050
_zeroPosRA = clearZeroPos ? DayTime(POLARIS_RA_HOUR, POLARIS_RA_MINUTE, POLARIS_RA_SECOND) : calculateLst();
3051+
#ifdef OAM
3052+
_zeroPosRA.addHours(6); // shift allcoordinates by 90° for EQ mount movement
3053+
#endif
30513054

30523055
_stepperRA->setCurrentPosition(0);
30533056
_stepperDEC->setCurrentPosition(0);

0 commit comments

Comments
 (0)