| 91 | } |
| 92 | |
| 93 | void make_settings() { |
| 94 | Setting::init(); |
| 95 | |
| 96 | message_level = new EnumSetting("Which Messages", EXTENDED, WG, NULL, "Message/Level", MsgLevelInfo, &messageLevels); |
| 97 | |
| 98 | config_filename = new StringSetting("Name of Configuration File", EXTENDED, WG, NULL, "Config/Filename", "config.yaml", 1, 50); |
| 99 | |
| 100 | // GRBL Numbered Settings |
| 101 | status_mask = new IntSetting("What to include in status report", GRBL, WG, "10", "Report/Status", 1, 0, 3); |
| 102 | |
| 103 | sd_fallback_cs = new IntSetting("SD CS pin if not configured", EXTENDED, WG, NULL, "SD/FallbackCS", -1, -1, 40); |
| 104 | |
| 105 | build_info = new StringSetting("OEM build info for $I command", EXTENDED, WG, NULL, "Firmware/Build", "", 0, 20); |
| 106 | |
| 107 | start_message = |
| 108 | new StringSetting("Message issued at startup", EXTENDED, WG, NULL, "Start/Message", "Grbl \\V [FluidNC \\B (\\X) \\H]", 0, 40); |
| 109 | |
| 110 | gcode_echo = new EnumSetting("GCode Echo Enable", WEBSET, WG, NULL, "GCode/Echo", 0, &onoffOptions); |
| 111 | } |
| 112 | |
| 113 | void make_proxies() { |
| 114 | // Some gcode senders expect Grbl to report certain numbered settings to improve |