@@ -46,42 +46,46 @@ extern int PolarisRASecond;
46
46
// useful if you are always going to run the mount from a laptop anyway.
47
47
// #define HEADLESS_CLIENT
48
48
49
+ #ifdef ESP8266
50
+ #define HEADLESS_CLIENT
51
+ #define WIFI_ENABLED
52
+ #define INFRA_SSID "yourSSID"
53
+ #define INFRA_WPAKEY "yourWPAKey"
54
+ #define OAT_WPAKEY "superSecret"
55
+ #define HOSTNAME "OATerScope"
56
+ // 0 - Infrastructure Only - Connecting to a Router
57
+ // 1 - AP Mode Only - Acting as a Router
58
+ // 2 - Attempt Infrastructure, Fail over to AP Mode.
59
+ #define WIFI_MODE 0
60
+ #endif
61
+
62
+
49
63
// Uncomment this to enable the heating menu
50
64
// NOTE: Heating is currently not supported!
51
65
// #define SUPPORT_HEATING
52
66
53
- // Uncomment to support Guided Startup
54
- #define SUPPORT_GUIDED_STARTUP
67
+ #ifndef HEADLESS_CLIENT
68
+
69
+ // Uncomment to support Guided Startup
70
+ #define SUPPORT_GUIDED_STARTUP
55
71
56
- // Uncomment to support full GO (was POI) menu.
57
- // If this is commented out you still have a GO menu that has Home and Park.
58
- #define SUPPORT_POINTS_OF_INTEREST
72
+ // Uncomment to support full GO (was POI) menu.
73
+ // If this is commented out you still have a GO menu that has Home and Park.
74
+ #define SUPPORT_POINTS_OF_INTEREST
59
75
60
- // Uncomment to support CTRL menu, allowing you to manually slew the mount with the buttons.
61
- #define SUPPORT_MANUAL_CONTROL
76
+ // Uncomment to support CTRL menu, allowing you to manually slew the mount with the buttons.
77
+ #define SUPPORT_MANUAL_CONTROL
62
78
63
- // Uncomment to support CAL menu, allowing you to calibrate various things
64
- #define SUPPORT_CALIBRATION
79
+ // Uncomment to support CAL menu, allowing you to calibrate various things
80
+ #define SUPPORT_CALIBRATION
65
81
82
+ #endif
66
83
// Uncomment to support INFO menu that displays various pieces of information about the mount.
67
84
// #define SUPPORT_INFO_DISPLAY
68
85
69
86
// Uncomment to support Serial Meade LX200 protocol support
70
87
// #define SUPPORT_SERIAL_CONTROL
71
88
72
- #ifdef ESP8266
73
- #define HEADLESS_CLIENT
74
- #define WIFI_ENABLED
75
- #define INFRA_SSID "yourSSID"
76
- #define INFRA_WPAKEY "yourWPAKey"
77
- #define OAT_WPAKEY "superSecret"
78
- #define HOSTNAME "OATerScope"
79
- // 0 - Infrastructure Only - Connecting to a Router
80
- // 1 - AP Mode Only - Acting as a Router
81
- // 2 - Attempt Infrastructure, Fail over to AP Mode.
82
- #define WIFI_MODE 0
83
- #endif
84
-
85
89
// If we are making a headleass (no screen, no keyboard) client, always enable Serial.
86
90
#ifdef HEADLESS_CLIENT
87
91
#define SUPPORT_SERIAL_CONTROL
0 commit comments