* improved hw_config file

* added retract angle to homing
* v1.0.3
This commit is contained in:
0x23 2025-10-22 19:09:09 +02:00
parent 40d292ff46
commit dc0278ea2b
8 changed files with 151 additions and 49 deletions

View file

@ -10,6 +10,8 @@
//*** CLASS *****************************************************************************
static constexpr int LETTER_COUNT = 26;
//--- GCodeCommand ----------------------------------------------------------------------
class GCodeCommand {
@ -23,10 +25,12 @@ class GCodeCommand {
float get_value(char word) const;
float get_value(char word, float default_value) const;
bool has_word(char word) const;
int get_word_count() const;
bool contains_unsupported_words(const std::string& supported_words_str) const;
private:
std::string command;
float word_values[26];
float word_values[LETTER_COUNT];
};
//--- ICommandProcessor -----------------------------------------------------------------