diff --git a/src/Program.cpp b/src/Program.cpp index 840665f..d9bd918 100644 --- a/src/Program.cpp +++ b/src/Program.cpp @@ -100,6 +100,11 @@ void Program::loop() { String nfcId = this->nfcReader->ReadNfc(); //si qqc if(nfcId != "0"){ + if (lcdScreen->get_components().wifi != COMPONENT_OK) { + lcdScreen->add_log("Wifi not connected !"); + lcdScreen->set_nfc_message("Cannot send wifi request !"); + return; + } //j'arrète le stepper //this->grbl->stop(); //FIXME: implemente //j'affiche le tag lue