fix(ppp): Detach PPP RST pin from periman on end (#11620)

This commit is contained in:
Me No Dev 2025-07-21 15:48:05 +03:00 committed by GitHub
parent 995e603d3a
commit f1712943b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -432,6 +432,11 @@ void PPPClass::end(void) {
_pin_cts = -1; _pin_cts = -1;
perimanClearPinBus(pin); perimanClearPinBus(pin);
} }
if (_pin_rst != -1) {
pin = _pin_rst;
_pin_rst = -1;
perimanClearPinBus(pin);
}
_mode = ESP_MODEM_MODE_COMMAND; _mode = ESP_MODEM_MODE_COMMAND;
} }