Skip to content

Commit d888922

Browse files
committed
minor text fix
1 parent 9f8c8c6 commit d888922

File tree

1 file changed

+1
-1
lines changed
  • ports/stm32f4/common-hal/microcontroller

1 file changed

+1
-1
lines changed

ports/stm32f4/common-hal/microcontroller/Pin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void reset_all_pins(void) {
5454

5555
// Mark pin as free and return it to a quiescent state.
5656
void reset_pin_number(uint8_t pin_port, uint8_t pin_number) {
57-
if (pin_port == 0x00) {
57+
if (pin_port == 0x0F) {
5858
return;
5959
}
6060

0 commit comments

Comments
 (0)