don't pass integer by reference, inefficient. (PR#2547)

This commit is contained in:
Andrew Lenharth
2015-07-29 10:24:54 -05:00
committed by Richard Wackerbarth
parent d03f037a92
commit a0ae9e30df
2 changed files with 4 additions and 4 deletions

View File

@ -473,9 +473,9 @@ float junction_deviation = 0.1;
// mm. Microseconds specify how many microseconds the move should take to perform. To aid acceleration
// calculation the caller must also provide the physical length of the line in millimeters.
#if defined(ENABLE_AUTO_BED_LEVELING) || defined(MESH_BED_LEVELING)
void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate, const uint8_t &extruder)
void plan_buffer_line(float x, float y, float z, const float &e, float feed_rate, const uint8_t extruder)
#else
void plan_buffer_line(const float &x, const float &y, const float &z, const float &e, float feed_rate, const uint8_t &extruder)
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