From 0f1df62389ef8195409d9ace832d43c5774ee966 Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Mon, 6 Jul 2015 23:09:14 -0700 Subject: [PATCH] Fixup comments in code_seen --- Marlin/Marlin_main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/Marlin_main.cpp b/Marlin/Marlin_main.cpp index 31a94ef489..1a962bb9a1 100644 --- a/Marlin/Marlin_main.cpp +++ b/Marlin/Marlin_main.cpp @@ -966,8 +966,8 @@ long code_value_long() { return strtol(seen_pointer + 1, NULL, 10); } int16_t code_value_short() { return (int16_t)strtol(seen_pointer + 1, NULL, 10); } bool code_seen(char code) { - seen_pointer = strchr(current_command_args, code); // +3 since "G0 " is the shortest prefix - return (seen_pointer != NULL); //Return True if a character was found + seen_pointer = strchr(current_command_args, code); + return (seen_pointer != NULL); // Return TRUE if the code-letter was found } #define DEFINE_PGM_READ_ANY(type, reader) \