Commit ef51ece4 authored by MagoKimbra's avatar MagoKimbra

Fix Laserbeam command on G0 or G1

parent 546a5da8
# Compiled Object files
*.slo
*.lo
*.o *.o
*.obj applet/
*~
# Compiled Dynamic libraries *.orig
*.so *.rej
*.dylib *.bak
*.dll \ No newline at end of file
# Fortran module files
*.mod
# Compiled Static libraries
*.lai
*.la
*.a
*.lib
# Executables
*.exe
*.out
*.app
# =========================
# Operating System Files
# =========================
# OSX
# =========================
.DS_Store
.AppleDouble
.LSOverride
# Icon must end with two \r
Icon
# Thumbnails
._*
# Files that might appear on external disk
.Spotlight-V100
.Trashes
# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk
# Windows
# =========================
# Windows image file caches
Thumbs.db
ehthumbs.db
# Folder config file
Desktop.ini
# Recycle Bin used on file shares
$RECYCLE.BIN/
# Windows Installer files
*.cab
*.msi
*.msm
*.msp
...@@ -5259,6 +5259,11 @@ void get_coordinates() ...@@ -5259,6 +5259,11 @@ void get_coordinates()
next_feedrate = code_value(); next_feedrate = code_value();
if(next_feedrate > 0.0) feedrate = next_feedrate; if(next_feedrate > 0.0) feedrate = next_feedrate;
} }
#ifdef LASERBEAM
if(code_seen('L')){
laser_ttl_modulation=constrain(code_value(),0,255);
}
#endif // LASERBEAM
} }
void get_arc_coordinates() void get_arc_coordinates()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment