Skip to content
Snippets Groups Projects
Commit 4d0d6168 authored by Thomas Oster's avatar Thomas Oster
Browse files

Fix: Power-Parameter is between 0-1, not 0-100

parent c8e66326
No related branches found
No related tags found
No related merge requests found
......@@ -287,7 +287,7 @@ public class GenericGcodeDriver extends LaserCutter {
String append = "";
if (nextPower != currentPower)
{
append += String.format(Locale.US, " S%f", nextPower);
append += String.format(Locale.US, " S%f", nextPower/100.0);
currentPower = nextPower;
}
if (nextSpeed != currentSpeed)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment