Skip to content

Commit 4b1ddcf

Browse files
authored
fix(periman): function name is GET
1 parent 7103ce8 commit 4b1ddcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/esp32/esp32-hal-periman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ bool perimanSetBusDeinit(peripheral_bus_type_t type, peripheral_bus_deinit_cb_t
136136

137137
// Get the peripheral destructor callback. It allows changing/restoring the peripheral pin function detaching, if necessary
138138
// retrns NULL is none is set
139-
peripheral_bus_deinit_cb_t perimanSetBusDeinit(peripheral_bus_type_t type);
139+
peripheral_bus_deinit_cb_t perimanGetBusDeinit(peripheral_bus_type_t type);
140140

141141
// Check if given pin is a valid GPIO number
142142
bool perimanPinIsValid(uint8_t pin);

0 commit comments

Comments
 (0)