Update sim800l.cpp (#4223)

This commit is contained in:
Florian idB 2023-02-02 19:53:46 +01:00 committed by GitHub
parent e95d6041d8
commit 8d6ffb9169
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -156,6 +156,7 @@ void Sim800LComponent::parse_cmd_(std::string message) {
case STATE_SEND_USSD1:
this->send_cmd_("AT+CUSD=1, \"" + this->ussd_ + "\"");
this->state_ = STATE_SEND_USSD2;
this->expect_ack_ = true;
break;
case STATE_SEND_USSD2:
ESP_LOGD(TAG, "SendUssd2: '%s'", message.c_str());