Removed "const" to match parser. (#10548)

This commit is contained in:
Marcio Teixeira 2018-04-27 16:48:52 -06:00 committed by Scott Lahteine
parent 2e1939e85c
commit 724e9f56c8

View file

@ -705,7 +705,7 @@ void GcodeSuite::process_next_command() {
*/
void GcodeSuite::process_subcommands_now_P(const char *pgcode) {
// Save the parser state
const char * const saved_cmd = parser.command_ptr;
char * const saved_cmd = parser.command_ptr;
// Process individual commands in string
while (pgm_read_byte_near(pgcode)) {