Skip to content

Commit

Permalink
bug fix in msg about set xyz and similar string cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrens committed Jun 5, 2021
1 parent 21a67e3 commit 5e8fd99
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions grbl_controller_esp32/com.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions grbl_controller_esp32/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5e8fd99

Please sign in to comment.