From 360c23128105752fe38dffe96bac6594d083ce43 Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 29 Aug 2019 14:44:27 +0200 Subject: [PATCH] Add multi axis support for webUI --- Grbl_Esp32/commands.cpp | 5 ++++- Grbl_Esp32/grbl.h | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Grbl_Esp32/commands.cpp b/Grbl_Esp32/commands.cpp index 1c7dff63..87e275bd 100644 --- a/Grbl_Esp32/commands.cpp +++ b/Grbl_Esp32/commands.cpp @@ -1983,10 +1983,13 @@ bool COMMANDS::execute_internal_command (int cmd, String cmd_params, level_authe resp += " # webcommunication: Sync: "; resp += String(web_server.port() + 1); #endif - resp += "# hostname:"; + resp += " # hostname:"; resp += wifi_config.Hostname(); if (WiFi.getMode() == WIFI_AP)resp += "(AP mode)"; #endif + //to save time in decoding `?` + resp += " # axis:"; + resp += String(N_AXIS); if (espresponse)espresponse->println (resp.c_str()); } break; diff --git a/Grbl_Esp32/grbl.h b/Grbl_Esp32/grbl.h index 8b58f43b..586286b2 100644 --- a/Grbl_Esp32/grbl.h +++ b/Grbl_Esp32/grbl.h @@ -20,7 +20,7 @@ // Grbl versioning system #define GRBL_VERSION "1.1f" -#define GRBL_VERSION_BUILD "20190828" +#define GRBL_VERSION_BUILD "20190829" //#include #include