Skip to content

Commit

Permalink
Updated project encoding and line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
dc42 committed Jan 7, 2023
1 parent ab16692 commit 95eed0d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ eclipse.preferences.version=1
encoding//src/Display/Lcd/Fonts/glcd11x14.cpp=UTF-8
encoding//src/Display/Lcd/Fonts/glcd7x11.cpp=UTF-8
encoding//src/Movement/StepperDrivers/TMC51xx.cpp=UTF-8
encoding/<project>=UTF-8
2 changes: 2 additions & 0 deletions .settings/org.eclipse.core.runtime.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
eclipse.preferences.version=1
line.separator=\n
1 change: 1 addition & 0 deletions src/GCodes/GCodeBuffer/ExpressionParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,7 @@ uint32_t ExpressionParser::ParseUnsigned() THROWS(GCodeException)
return (uint32_t)val.iVal;
}
ThrowParseException("value must be non-negative");
// no break

default:
ThrowParseException("expected non-negative integer value");
Expand Down
1 change: 1 addition & 0 deletions src/GCodes/GCodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2231,6 +2231,7 @@ bool GCodes::DoStraightMove(GCodeBuffer& gb, bool isCoordinated) THROWS(GCodeExc
}
}
gb.ThrowGCodeException("G0/G1: target position not reachable from current position"); // we can't bring the move within limits, so this is a definite error
// no break

case LimitPositionResult::ok:
default:
Expand Down

0 comments on commit 95eed0d

Please sign in to comment.