HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d69426
)
fabs -> fabsf
author
Jim Morris
<morris@wolfman.com>
Tue, 1 Sep 2015 05:32:21 +0000
(22:32 -0700)
committer
Jim Morris
<morris@wolfman.com>
Tue, 1 Sep 2015 05:32:21 +0000
(22:32 -0700)
src/modules/tools/extruder/Extruder.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/tools/extruder/Extruder.cpp
b/src/modules/tools/extruder/Extruder.cpp
index
4da5627
..
6e58894
100644
(file)
--- a/
src/modules/tools/extruder/Extruder.cpp
+++ b/
src/modules/tools/extruder/Extruder.cpp
@@
-567,7
+567,7
@@
void Extruder::on_gcode_execute(void *argument)
}
// If the robot is moving, we follow it's movement, otherwise, we move alone
- if( fabs(gcode->millimeters_of_travel) < 0.00001F ) { // With floating numbers, we can have 0 != 0, NOTE needs to be same as in Robot.cpp#745
+ if( fabs
f
(gcode->millimeters_of_travel) < 0.00001F ) { // With floating numbers, we can have 0 != 0, NOTE needs to be same as in Robot.cpp#745
this->mode = SOLO;
this->travel_distance = relative_extrusion_distance;
} else {