From 95223cb28eb203201b51ca7ee58cf868b2d64d3c Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Sat, 2 Feb 2019 15:34:55 -0600 Subject: [PATCH] Remove dead code from stepper.h These values are always supplied by `Conditionals_post.h`. --- Marlin/src/module/stepper.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Marlin/src/module/stepper.h b/Marlin/src/module/stepper.h index 5f7cdc54cc..ec8df8e949 100644 --- a/Marlin/src/module/stepper.h +++ b/Marlin/src/module/stepper.h @@ -50,18 +50,6 @@ // Estimate the amount of time the Stepper ISR will take to execute // -#ifndef MINIMUM_STEPPER_PULSE - #define MINIMUM_STEPPER_PULSE 0UL -#endif - -#ifndef MAXIMUM_STEPPER_RATE - #if MINIMUM_STEPPER_PULSE - #define MAXIMUM_STEPPER_RATE (1000000UL / (2UL * (unsigned long)(MINIMUM_STEPPER_PULSE))) - #else - #define MAXIMUM_STEPPER_RATE 500000UL - #endif -#endif - #ifdef CPU_32_BIT // The base ISR takes 792 cycles