mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-07-02 20:00:40 +00:00
Some minor changes on code style. And a bugfix where the counters for positioning in the stepper where wrong depending on compiler settings. (Caused strange values to reported back with M114 and endstop triggers). Also fixed compiling with FWRETRACT enabled.
This commit is contained in:
parent
6c51fe5039
commit
94ea26ff46
6 changed files with 24 additions and 18 deletions
Marlin
|
@ -78,7 +78,7 @@ static bool old_z_max_endstop=false;
|
|||
static bool check_endstops = true;
|
||||
|
||||
volatile long count_position[NUM_AXIS] = { 0, 0, 0, 0};
|
||||
volatile char count_direction[NUM_AXIS] = { 1, 1, 1, 1};
|
||||
volatile signed char count_direction[NUM_AXIS] = { 1, 1, 1, 1};
|
||||
|
||||
//===========================================================================
|
||||
//=============================functions ============================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue