Improve GCodeCommands

Authored by rizzitello on Feb 13 2018, 9:26 PM.

Description

Improve GCodeCommands

Summary:
From the old Diff

  • Use Teareny opperation to make code more readable. Simplify Error Message

New in this Diff

  • Rename GCodeCommands::toString -> GCodeCommands::description.
  • Improve Error Message for when a Gcode is needed.

Reviewers: patrickelectric, laysrodrigues, tcanabrava

Reviewed By: patrickelectric, tcanabrava

Differential Revision: https://phabricator.kde.org/D10436

Merged Changes

CommitAuthorDetailsCommitted
8167a016fa60D10436rizzitello
Clean up gcodecommands. update tests and use in atcore and testclient 
Feb 13 2018