Skip to content

Commit 6a512b1

Browse files
authored
feat(uart): remove uart_init_PeriMan call in constructor
Removed call to uart_init_PeriMan in HardwareSerial destructor.
1 parent a820380 commit 6a512b1

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cores/esp32/HardwareSerial.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,6 @@ HardwareSerial::HardwareSerial(uint8_t uart_nr)
136136
}
137137
}
138138
#endif
139-
// set deinit function in the Peripheral Manager
140-
uart_init_PeriMan();
141139
}
142140

143141
HardwareSerial::~HardwareSerial() {

0 commit comments

Comments
 (0)