Skip to content

Commit

Permalink
bug fix for disabling Serial2 when using Telnet/BT
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrens committed Jun 10, 2021
1 parent 5e8fd99 commit aa92068
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions grbl_controller_esp32/com.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -888,6 +888,7 @@ void startGrblCom(uint8_t comMode , boolean forceStart){
// First stop BT or Telnet
if (grblLink == GRBL_LINK_SERIAL && comMode != grblLink ) {
Serial2.end(); // disable UART because USB on GRBL_ESP32 use also the UART
pinMatrixOutDetach(SERIAL2_TXPIN , false, false);
pinMode( SERIAL2_TXPIN , INPUT);
//Serial.println("in startGrblCom Serial has been stopped"); delay(200);
}else if (grblLink == GRBL_LINK_BT && comMode != grblLink){
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.f"
#define VERSION_TEXT "Firmware vers. 2.1.f( 05 jun 2021)"
#define ESP32_VERSION "vers.2.1.g"
#define VERSION_TEXT "Firmware vers. 2.1.g( 10 jun 2021)"


// decide if you will use Wifi or not (and how)
Expand Down

0 comments on commit aa92068

Please sign in to comment.