|
|
|
|
966
|
int16_t code_value_short() { return (int16_t)strtol(seen_pointer + 1, NULL, 10); }
|
966
|
int16_t code_value_short() { return (int16_t)strtol(seen_pointer + 1, NULL, 10); }
|
967
|
|
967
|
|
968
|
bool code_seen(char code) {
|
968
|
bool code_seen(char code) {
|
969
|
- seen_pointer = strchr(current_command_args, code); // +3 since "G0 " is the shortest prefix
|
|
|
970
|
- return (seen_pointer != NULL); //Return True if a character was found
|
|
|
|
|
969
|
+ seen_pointer = strchr(current_command_args, code);
|
|
|
970
|
+ return (seen_pointer != NULL); // Return TRUE if the code-letter was found
|
971
|
}
|
971
|
}
|
972
|
|
972
|
|
973
|
#define DEFINE_PGM_READ_ANY(type, reader) \
|
973
|
#define DEFINE_PGM_READ_ANY(type, reader) \
|