mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-09-02 19:02:35 +02:00
Deleted dead variable in Stepper.h
This commit is contained in:
@@ -47,8 +47,8 @@ struct PrepFlag {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// fStepperTimer should be an integer divisor of the bus speed, i.e. of fTimers
|
// fStepperTimer should be an integer divisor of the bus speed, i.e. of fTimers
|
||||||
const uint32_t fStepperTimer = 20000000; // frequency of step pulse timer
|
const uint32_t fStepperTimer = 20000000; // frequency of step pulse timer
|
||||||
const int ticksPerMicrosecond = fStepperTimer / 1000000;
|
const int ticksPerMicrosecond = fStepperTimer / 1000000;
|
||||||
|
|
||||||
// Define Adaptive Multi-Axis Step-Smoothing(AMASS) levels and cutoff frequencies. The highest level
|
// Define Adaptive Multi-Axis Step-Smoothing(AMASS) levels and cutoff frequencies. The highest level
|
||||||
// frequency bin starts at 0Hz and ends at its cutoff frequency. The next lower level frequency bin
|
// frequency bin starts at 0Hz and ends at its cutoff frequency. The next lower level frequency bin
|
||||||
@@ -62,7 +62,7 @@ const int ticksPerMicrosecond = fStepperTimer / 1000000;
|
|||||||
// and timer accuracy. Do not alter these settings unless you know what you are doing.
|
// and timer accuracy. Do not alter these settings unless you know what you are doing.
|
||||||
|
|
||||||
const uint32_t amassThreshold = fStepperTimer / 8000;
|
const uint32_t amassThreshold = fStepperTimer / 8000;
|
||||||
const int maxAmassLevel = 3; // Each level increase doubles the threshold
|
const int maxAmassLevel = 3; // Each level increase doubles the threshold
|
||||||
|
|
||||||
const timer_group_t STEP_TIMER_GROUP = TIMER_GROUP_0;
|
const timer_group_t STEP_TIMER_GROUP = TIMER_GROUP_0;
|
||||||
const timer_idx_t STEP_TIMER_INDEX = TIMER_0;
|
const timer_idx_t STEP_TIMER_INDEX = TIMER_0;
|
||||||
@@ -71,8 +71,6 @@ const timer_idx_t STEP_TIMER_INDEX = TIMER_0;
|
|||||||
extern uint64_t stepper_idle_counter;
|
extern uint64_t stepper_idle_counter;
|
||||||
extern bool stepper_idle;
|
extern bool stepper_idle;
|
||||||
|
|
||||||
//extern uint8_t ganged_mode;
|
|
||||||
|
|
||||||
enum stepper_id_t {
|
enum stepper_id_t {
|
||||||
ST_TIMED = 0,
|
ST_TIMED = 0,
|
||||||
ST_RMT,
|
ST_RMT,
|
||||||
|
Reference in New Issue
Block a user