Skip to content

Commit

Permalink
Merge pull request #780 from bdring/Fix778
Browse files Browse the repository at this point in the history
Fix #778 - T field in GC report was missing the integer
  • Loading branch information
bdring authored Jan 27, 2023
2 parents 740271b + 886531b commit 0e7730d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion FluidNC/src/Report.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void report_gcode_modes(Channel& channel) {
msg << " M56";
}

msg << " T" + gc_state.tool;
msg << " T" << gc_state.tool;
int digits = config->_reportInches ? 1 : 0;
msg << " F" << std::fixed << std::setprecision(digits) << gc_state.feed_rate;
msg << " S" << uint32_t(gc_state.spindle_speed);
Expand Down

0 comments on commit 0e7730d

Please sign in to comment.