Skip to content

Commit

Permalink
Fix Frequency stepper in conditional.h
Browse files Browse the repository at this point in the history
  • Loading branch information
MagoKimbra committed Aug 19, 2015
1 parent 945a5bb commit f7820b1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MarlinKimbra/conditionals.h
Original file line number Diff line number Diff line change
Expand Up @@ -390,15 +390,15 @@
* MAX_STEP_FREQUENCY differs for TOSHIBA OR ARDUINO DUE OR ARDUINO MEGA
*/
#ifdef __SAM3X8E__
#if defined(CONFIG_STEPPERS_TOSHIBA) || !defined(ENABLE_HIGH_SPEED_STEPPING)
#if defined(CONFIG_STEPPERS_TOSHIBA)
#define MAX_STEP_FREQUENCY 150000 // Max step frequency for Toshiba Stepper Controllers
#define DOUBLE_STEP_FREQUENCY MAX_STEP_FREQUENCY
#else
#define MAX_STEP_FREQUENCY 500000 // Max step frequency for the Due is approx. 330kHz
#define DOUBLE_STEP_FREQUENCY 100000 //96kHz is close to maximum for an Arduino Due
#endif
#else
#if defined(CONFIG_STEPPERS_TOSHIBA) || !defined(ENABLE_HIGH_SPEED_STEPPING)
#if defined(CONFIG_STEPPERS_TOSHIBA)
#define MAX_STEP_FREQUENCY 10000 // Max step frequency for Toshiba Stepper Controllers
#define DOUBLE_STEP_FREQUENCY MAX_STEP_FREQUENCY
#else
Expand Down

0 comments on commit f7820b1

Please sign in to comment.