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:
b7d3f8d
)
removed extra line of old code
author
Logxen
<logxen@hotmail.com>
Sun, 12 Oct 2014 17:06:31 +0000
(10:06 -0700)
committer
Logxen
<logxen@hotmail.com>
Sun, 12 Oct 2014 17:06:31 +0000
(10:06 -0700)
src/modules/tools/laser/Laser.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/modules/tools/laser/Laser.cpp
b/src/modules/tools/laser/Laser.cpp
index
2ba6565
..
b519b95
100644
(file)
--- a/
src/modules/tools/laser/Laser.cpp
+++ b/
src/modules/tools/laser/Laser.cpp
@@
-146,7
+146,6
@@
void Laser::on_gcode_execute(void* argument){
else if( dac_pin != NULL){
this->dac_pin->write(this->laser_inverting ? 1.0f - this->laser_tickle_power : this->laser_tickle_power);
}
- this->laser_pin->write(this->laser_inverting ? 1 - this->laser_tickle_power : this->laser_tickle_power);
this->laser_on = false;
}else if( code >= 1 && code <= 3 ){ // G1, G2, G3
this->laser_on = true;