Skip to main content
Homepage
Explore
Search or go to…
/
Register
Sign in
Explore
Primary navigation
Project
M
marlin-anet-a8
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Jonas Leder
marlin-anet-a8
Commits
fc5c1a28
Commit
fc5c1a28
authored
Jan 24, 2018
by
Scott Lahteine
Browse files
Options
Downloads
Patches
Plain Diff
Fix M118 parameter parsing
parent
399bca31
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Marlin/src/gcode/host/M118.cpp
+2
-2
2 additions, 2 deletions
Marlin/src/gcode/host/M118.cpp
with
2 additions
and
2 deletions
Marlin/src/gcode/host/M118.cpp
+
2
−
2
View file @
fc5c1a28
...
...
@@ -29,7 +29,7 @@
* E1 Have the host 'echo:' the text
*/
void
GcodeSuite
::
M118
()
{
if
(
parser
.
bool
val
(
'E'
))
SERIAL_ECHO_START
();
if
(
parser
.
bool
val
(
'A'
))
SERIAL_ECHOPGM
(
"// "
);
if
(
parser
.
seen
val
(
'E'
)
&&
parser
.
value_bool
()
)
SERIAL_ECHO_START
();
if
(
parser
.
seen
val
(
'A'
)
&&
parser
.
value_bool
()
)
SERIAL_ECHOPGM
(
"// "
);
SERIAL_ECHOLN
(
parser
.
string_arg
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment