removed extra line of old code
authorLogxen <logxen@hotmail.com>
Sun, 12 Oct 2014 17:06:31 +0000 (10:06 -0700)
committerLogxen <logxen@hotmail.com>
Sun, 12 Oct 2014 17:06:31 +0000 (10:06 -0700)
src/modules/tools/laser/Laser.cpp

index 2ba6565..b519b95 100644 (file)
@@ -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;