Merge branch 'master' into experimental
This commit is contained in:
commit
9e711e9e19
2 changed files with 4 additions and 3 deletions
|
|
@ -1242,8 +1242,8 @@ inline void linear_move(unsigned long axis_steps_remaining[]) // make linear mov
|
||||||
if (acceleration_enabled && steps_done == 0) {
|
if (acceleration_enabled && steps_done == 0) {
|
||||||
interval = max_interval;
|
interval = max_interval;
|
||||||
} else if (acceleration_enabled && steps_done <= plateau_steps) {
|
} else if (acceleration_enabled && steps_done <= plateau_steps) {
|
||||||
long current_speed = (long) ((((long) steps_per_sqr_second) / 10000)
|
long current_speed = (long) ((((long) steps_per_sqr_second) / 100)
|
||||||
* ((micros() - start_move_micros) / 100) + (long) min_speed_steps_per_second);
|
* ((micros() - start_move_micros) / 100)/100 + (long) min_speed_steps_per_second);
|
||||||
interval = 100000000 / current_speed;
|
interval = 100000000 / current_speed;
|
||||||
if (interval < full_interval) {
|
if (interval < full_interval) {
|
||||||
accelerating = false;
|
accelerating = false;
|
||||||
|
|
|
||||||
|
|
@ -436,7 +436,8 @@
|
||||||
// SPI for Max6675 Thermocouple
|
// SPI for Max6675 Thermocouple
|
||||||
|
|
||||||
#ifndef SDSUPPORT
|
#ifndef SDSUPPORT
|
||||||
// these pins are defined in the SD library if building with SD support #define SCK_PIN 52
|
// these pins are defined in the SD library if building with SD support
|
||||||
|
#define SCK_PIN 52
|
||||||
#define MISO_PIN 50
|
#define MISO_PIN 50
|
||||||
#define MOSI_PIN 51
|
#define MOSI_PIN 51
|
||||||
#define MAX6675_SS 53
|
#define MAX6675_SS 53
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue