From d52f9c085ecb334fa8c4e774bcc50fbb5104c9a9 Mon Sep 17 00:00:00 2001 From: Stefan de Bruijn Date: Fri, 4 Jun 2021 20:48:23 +0200 Subject: [PATCH] Fixed weird issue with AP/STA in parser. --- Grbl_Esp32/data/config.yaml | 13 ++++++++----- Grbl_Esp32/src/Configuration/Parser.cpp | 1 - 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/Grbl_Esp32/data/config.yaml b/Grbl_Esp32/data/config.yaml index c978f102..126ecceb 100644 --- a/Grbl_Esp32/data/config.yaml +++ b/Grbl_Esp32/data/config.yaml @@ -66,10 +66,13 @@ coolant: flood: gpio.25:low mist: gpio.21 +comms: + wifi_sta: + ssid: StefanMieke + + wifi_ap: + ip_address: "192.168.0.1" + ssid: ScratchThat + probe: pin: gpio.32:high:pu - -comms: - wifi_ap: - ssid: ScratchThat - ip_address: "192.168.0.1" diff --git a/Grbl_Esp32/src/Configuration/Parser.cpp b/Grbl_Esp32/src/Configuration/Parser.cpp index 0b939da6..03c94368 100644 --- a/Grbl_Esp32/src/Configuration/Parser.cpp +++ b/Grbl_Esp32/src/Configuration/Parser.cpp @@ -110,7 +110,6 @@ namespace Configuration { if (last == token_.indent_) { // Yes, the token continues where we left off: current_ = token_; - Tokenize(); } else { current_ = TokenData(); current_.indent_ = last;