fix(ppp): Detach PPP RST pin from periman on end (#11620)
This commit is contained in:
parent
995e603d3a
commit
f1712943b4
1 changed files with 5 additions and 0 deletions
|
|
@ -432,6 +432,11 @@ void PPPClass::end(void) {
|
|||
_pin_cts = -1;
|
||||
perimanClearPinBus(pin);
|
||||
}
|
||||
if (_pin_rst != -1) {
|
||||
pin = _pin_rst;
|
||||
_pin_rst = -1;
|
||||
perimanClearPinBus(pin);
|
||||
}
|
||||
|
||||
_mode = ESP_MODEM_MODE_COMMAND;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue