Hello
Please adhere to the indentation AutoFormat for the if-else directives #if, #ifdef, #ifndef, #else, #elif and #endif
Before
#define STEPPER NEMA17
#if STEPPER == NEMA17
#define DEFTFULLSTEPS 200 // MM
#else
//...
#endif
#define BELT GT2
#if BELT == GT2
#define BELTPITCH 2 // MM
#define PULLEYNUMBERTEET 20
#else
//...
#endif
#define SCREW S5MM //
#if SCREW == S8MM
#define THREADPITCH 1.25 // MM,
#else
#if SCREW == S8MM
#define THREADPITCH 1 //1 MM
#else
//...
#endif
#endif
Aafter :o
#define STEPPER NEMA17
#if STEPPER == NEMA17
#define DEFTFULLSTEPS 200 // MM
#else
//...
#endif
#define BELT GT2
#if BELT == GT2
#define BELTPITCH 2 // MM
#define PULLEYNUMBERTEET 20
#else
//...
#endif
#define SCREW S5MM //
#if SCREW == S8MM
#define THREADPITCH 1.25 // MM,
#else
#if SCREW == S8MM
#define THREADPITCH 1 //1 MM
#else
//...
#endif
#endif
Good idea?