Added debug output
This commit is contained in:
parent
f98cf1b44b
commit
7f9e947954
|
|
@ -538,7 +538,21 @@ void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate
|
|||
void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t &extruder)
|
||||
#endif //ENABLE_AUTO_BED_LEVELING
|
||||
{
|
||||
// Calculate the buffer head after we push this byte
|
||||
|
||||
#ifdef DEVELOPER
|
||||
SERIAL_PROTOCOLPGM("MESHING TO:");
|
||||
SERIAL_PROTOCOLPGM(" X:");
|
||||
SERIAL_PROTOCOL(x);
|
||||
SERIAL_PROTOCOLPGM(" Y:");
|
||||
SERIAL_PROTOCOL(y);
|
||||
SERIAL_PROTOCOLPGM(" Z:");
|
||||
SERIAL_PROTOCOL(z);
|
||||
SERIAL_PROTOCOLPGM(" E:");
|
||||
SERIAL_PROTOCOL(e);
|
||||
SERIAL_PROTOCOLPGM("\n");
|
||||
#endif
|
||||
|
||||
// Calculate the buffer head after we push this byte
|
||||
int next_buffer_head = next_block_index(block_buffer_head);
|
||||
|
||||
// If the buffer is full: good! That means we are well ahead of the robot.
|
||||
|
|
|
|||
|
|
@ -9,6 +9,9 @@
|
|||
#define FILAMENT_SIZE "1_7dev"
|
||||
#define NOZZLE_TYPE "E3Dv6lite"
|
||||
|
||||
// Developer flag
|
||||
#define DEVELOPER
|
||||
|
||||
// Printer name
|
||||
#define CUSTOM_MENDEL_NAME "Prusa i3 dev"
|
||||
|
||||
|
|
@ -148,7 +151,7 @@ const bool Z_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic o
|
|||
#if MOTHERBOARD == 102 || MOTHERBOARD == 302
|
||||
#define MOTOR_CURRENT_PWM_RANGE 2000
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT {270, 450, 450} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 450, 500} // {XY,Z,E}
|
||||
#define DEFAULT_PWM_MOTOR_CURRENT_LOUD {540, 530, 500} // {XY,Z,E}
|
||||
#endif
|
||||
|
||||
/*------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in New Issue