8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc97f1d commit 9dea495Copy full SHA for 9dea495
ports/broadcom/common-hal/microcontroller/Pin.c
@@ -51,8 +51,6 @@ void reset_pin_number(uint8_t pin_number) {
51
BP_PULL_Enum pull = BP_PULL_NONE;
52
if (22 <= pin_number && pin_number <= 27) {
53
gpio_set_function(pin_number, GPIO_FUNCTION_ALT4);
54
- pull = BP_PULL_DOWN;
55
- return;
56
} else {
57
gpio_set_function(pin_number, GPIO_FUNCTION_INPUT);
58
}
@@ -66,7 +64,7 @@ void reset_pin_number(uint8_t pin_number) {
66
64
pin_number != 44 &&
67
65
pin_number != 45) {
68
// Most pins are pulled low so we only exclude the four pins that aren't
69
- // pulled at all.
+ // pulled at all. This will aso set the JTAG pins 22-27
70
pull = BP_PULL_DOWN;
71
72
gpio_set_pull(pin_number, pull);
0 commit comments