From 5e8fd99b7d935e0ada67088f8a8db33b55ec797e Mon Sep 17 00:00:00 2001 From: mstrens Date: Sat, 5 Jun 2021 11:10:01 +0200 Subject: [PATCH] bug fix in msg about set xyz and similar string cmd --- grbl_controller_esp32/com.cpp | 5 ----- grbl_controller_esp32/config.h | 4 ++-- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/grbl_controller_esp32/com.cpp b/grbl_controller_esp32/com.cpp index f001ea4..4af2d1b 100644 --- a/grbl_controller_esp32/com.cpp +++ b/grbl_controller_esp32/com.cpp @@ -778,14 +778,9 @@ void fillAlarmMsg( const char * alarmMsg ) { //alarmMsg contains "ALARM:xx" } */ void fillStringExecuteMsg( uint8_t buttonMessageIdx ) { // buttonMessageIdx contains the number of the button - //Serial.print("param= ") ; Serial.println(buttonMessageIdx ) ; // to debug if ( buttonMessageIdx >= _SETX || buttonMessageIdx <= _GO_PROBE) { - buttonMessageIdx -= _SETX ; - //fillMsg( stringExecuteMsg[buttonMessageIdx] , BUTTON_TEXT ) ; fillMsg( buttonMessageIdx - _SETX + _SETX_EXECUTED , SCREEN_NORMAL_TEXT ) ; } else { - //buttonMessageIdx = _GO_PROBE - _SETX + 1 ; - //fillMsg( stringExecuteMsg[buttonMessageIdx] ) ; fillMsg( _UNKNOWN_BTN_EXECUTED , SCREEN_NORMAL_TEXT ) ; } //Serial.print("index of table= ") ; Serial.println(buttonMessageIdx ) ; // to debug diff --git a/grbl_controller_esp32/config.h b/grbl_controller_esp32/config.h index dc08b31..103c9db 100644 --- a/grbl_controller_esp32/config.h +++ b/grbl_controller_esp32/config.h @@ -2,8 +2,8 @@ #define _config_h -#define ESP32_VERSION "vers.2.1.e" -#define VERSION_TEXT "Firmware vers. 2.1.e( 05 jun 2021)" +#define ESP32_VERSION "vers.2.1.f" +#define VERSION_TEXT "Firmware vers. 2.1.f( 05 jun 2021)" // decide if you will use Wifi or not (and how)