Skip to content

Commit f171294

Browse files
authored
fix(ppp): Detach PPP RST pin from periman on end (#11620)
1 parent 995e603 commit f171294

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

libraries/PPP/src/PPP.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,11 @@ void PPPClass::end(void) {
432432
_pin_cts = -1;
433433
perimanClearPinBus(pin);
434434
}
435+
if (_pin_rst != -1) {
436+
pin = _pin_rst;
437+
_pin_rst = -1;
438+
perimanClearPinBus(pin);
439+
}
435440

436441
_mode = ESP_MODEM_MODE_COMMAND;
437442
}

0 commit comments

Comments
 (0)