File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
Software/Arduino code/OpenAstroTracker Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 18
18
19
19
#include " Globals.hpp"
20
20
21
- String version = " V1.7.22 " ;
21
+ String version = " V1.7.23 " ;
22
22
23
23
// /////////////////////////////////////////////////////////////////////////
24
24
// Please see the Globals.h file for configuration of the firmware.
Original file line number Diff line number Diff line change @@ -16,9 +16,12 @@ bool processHomeKeys() {
16
16
if (subGoIndex == 0 ) {
17
17
mount.goHome ();
18
18
}
19
- else {
19
+ else if (mount. isSlewingTRK ()) {
20
20
mount.park ();
21
21
}
22
+ else {
23
+ mount.startSlewing (TRACKING);
24
+ }
22
25
}
23
26
break ;
24
27
@@ -41,14 +44,14 @@ bool processHomeKeys() {
41
44
42
45
void printHomeSubmenu () {
43
46
char scratchBuffer[16 ];
44
- if (mount.isParked () && (subGoIndex == 1 )) {
45
- lcdMenu. printMenu ( " Parked... " );
47
+ if (mount.isSlewingTRK ( )) {
48
+ strcpy (scratchBuffer, " Home Park " );
46
49
}
47
50
else {
48
- strcpy (scratchBuffer, " Home Park" );
49
- scratchBuffer[subGoIndex * 6 ] = ' >' ;
50
- lcdMenu.printMenu (scratchBuffer);
51
+ strcpy (scratchBuffer, " Home Unpark" );
51
52
}
53
+ scratchBuffer[subGoIndex * 6 ] = ' >' ;
54
+ lcdMenu.printMenu (scratchBuffer);
52
55
}
53
56
54
57
#endif
You can’t perform that action at this time.
0 commit comments