Skip to content

Commit 3932490

Browse files
V1.7.23 - Updates
- Added Unpark command to the compact GO menu
1 parent 6684384 commit 3932490

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

Software/Arduino code/OpenAstroTracker/OpenAstroTracker.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
#include "Globals.hpp"
2020

21-
String version = "V1.7.22";
21+
String version = "V1.7.23";
2222

2323
///////////////////////////////////////////////////////////////////////////
2424
// Please see the Globals.h file for configuration of the firmware.

Software/Arduino code/OpenAstroTracker/c725_menuHOME.hpp

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,12 @@ bool processHomeKeys() {
1616
if (subGoIndex == 0) {
1717
mount.goHome();
1818
}
19-
else {
19+
else if (mount.isSlewingTRK()) {
2020
mount.park();
2121
}
22+
else {
23+
mount.startSlewing(TRACKING);
24+
}
2225
}
2326
break;
2427

@@ -41,14 +44,14 @@ bool processHomeKeys() {
4144

4245
void printHomeSubmenu() {
4346
char scratchBuffer[16];
44-
if (mount.isParked() && (subGoIndex == 1)) {
45-
lcdMenu.printMenu("Parked...");
47+
if (mount.isSlewingTRK()) {
48+
strcpy(scratchBuffer, " Home Park");
4649
}
4750
else {
48-
strcpy(scratchBuffer, " Home Park");
49-
scratchBuffer[subGoIndex * 6] = '>';
50-
lcdMenu.printMenu(scratchBuffer);
51+
strcpy(scratchBuffer, " Home Unpark");
5152
}
53+
scratchBuffer[subGoIndex * 6] = '>';
54+
lcdMenu.printMenu(scratchBuffer);
5255
}
5356

5457
#endif

0 commit comments

Comments
 (0)