|
69 | 69 | #ifndef RA_SLEW_MICROSTEPPING
|
70 | 70 | #define RA_SLEW_MICROSTEPPING 8 // Microstep mode set by MS pin strapping. Use the same microstep mode for both slewing & tracking
|
71 | 71 | #endif
|
| 72 | + #if defined(RA_TRACKING_MICROSTEPPING) && (RA_TRACKING_MICROSTEPPING != RA_SLEW_MICROSTEPPING) |
| 73 | + #error With A4988 drivers or TMC2209 drivers in Standalone mode, RA microstepping must be the same for slewing and tracking. Delete RA_TRACKING_MICROSTEPPING from your config. |
| 74 | + #endif |
72 | 75 | #define RA_TRACKING_MICROSTEPPING RA_SLEW_MICROSTEPPING
|
73 | 76 | #else
|
74 | 77 | #error Unknown RA driver type
|
|
89 | 92 | #define DEC_SLEW_MICROSTEPPING \
|
90 | 93 | 16 // Only UART drivers support dynamic switching. Use the same microstep mode for both slewing & guiding
|
91 | 94 | #endif
|
| 95 | + #if defined(DEC_GUIDE_MICROSTEPPING) && (DEC_GUIDE_MICROSTEPPING != DEC_SLEW_MICROSTEPPING) |
| 96 | + #error With A4988 drivers or TMC2209 drivers in Standalone mode, DEC microstepping must be the same for slewing and guiding. Delete DEC_GUIDE_MICROSTEPPING from your config. |
| 97 | + #endif |
92 | 98 | #define DEC_GUIDE_MICROSTEPPING DEC_SLEW_MICROSTEPPING
|
93 | 99 | #else
|
94 | 100 | #error Unknown DEC driver type
|
|
399 | 405 | // the ratio of the ALT gearbox for AutoPA V2 (40:1)
|
400 | 406 | #define ALT_WORMGEAR_RATIO (40.0f)
|
401 | 407 | #endif
|
402 |
| - |
403 |
| - #define ALTITUDE_STEPS_PER_REV \ |
404 |
| - (ALT_CORRECTION_FACTOR * (ALT_CIRCUMFERENCE / (ALT_PULLEY_TEETH * GT2_BELT_PITCH)) * ALT_STEPPER_SPR * ALT_MICROSTEPPING \ |
405 |
| - * ALT_WORMGEAR_RATIO) // Actually u-steps/rev |
| 408 | + #ifndef ALTITUDE_STEPS_PER_REV |
| 409 | + #define ALTITUDE_STEPS_PER_REV \ |
| 410 | + (ALT_CORRECTION_FACTOR * (ALT_CIRCUMFERENCE / (ALT_PULLEY_TEETH * GT2_BELT_PITCH)) * ALT_STEPPER_SPR * ALT_MICROSTEPPING \ |
| 411 | + * ALT_WORMGEAR_RATIO) // Actually u-steps/rev |
| 412 | + #endif |
406 | 413 | #endif
|
407 | 414 |
|
408 | 415 | #ifndef ALTITUDE_STEPS_PER_ARC_MINUTE
|
|
549 | 556 | /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
550 | 557 | // ///
|
551 | 558 | // FEATURE SUPPORT SECTION ///
|
| 559 | +// FOR MOUNTS WITH /// |
| 560 | +// LCD DISPLAY /// |
552 | 561 | // ///
|
553 | 562 | //////////////////////////////
|
554 | 563 | //
|
|
589 | 598 | #define SUPPORT_MANUAL_CONTROL 0
|
590 | 599 | #define SUPPORT_CALIBRATION 0
|
591 | 600 | #define SUPPORT_INFO_DISPLAY 0
|
592 |
| - |
| 601 | + #if SUPPORT_DRIFT_ALIGNMENT == 1 |
| 602 | + #error "Drift Alignment is only available with a display." |
| 603 | + #endif |
| 604 | + #define SUPPORT_DRIFT_ALIGNMENT 0 |
593 | 605 | #endif // DISPLAY_TYPE
|
594 | 606 |
|
595 | 607 | // Enable Meade protocol communication over serial
|
|
0 commit comments