Skip to content

Commit d565886

Browse files
committed
Added pin definition for battery change enable. Pin used to switch in a 10 ohm resistor during Hub reset & strapping.
1 parent fb27124 commit d565886

File tree

1 file changed

+1
-0
lines changed
  • ports/atmel-samd/boards/capablerobot_usbhub

1 file changed

+1
-0
lines changed

ports/atmel-samd/boards/capablerobot_usbhub/pins.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ STATIC const mp_rom_map_elem_t board_global_dict_table[] = {
1919

2020
{ MP_OBJ_NEW_QSTR(MP_QSTR_USBHOSTEN), MP_ROM_PTR(&pin_PA07) },
2121
{ MP_OBJ_NEW_QSTR(MP_QSTR_USBRESET), MP_ROM_PTR(&pin_PB08) },
22+
{ MP_OBJ_NEW_QSTR(MP_QSTR_USBBCEN), MP_ROM_PTR(&pin_PB22) },
2223

2324
{ MP_OBJ_NEW_QSTR(MP_QSTR_SDA), MP_ROM_PTR(&pin_PA22) },
2425
{ MP_OBJ_NEW_QSTR(MP_QSTR_SCL), MP_ROM_PTR(&pin_PA23) },

0 commit comments

Comments
 (0)